Skip to content

[BUG] Installation fails in a clean environment #324

@tshu-w

Description

@tshu-w
  • Steps to reproduce
    • Start a clean shell: zsh --no-rcs
    • Run: eval "$(curl https://get.x-cmd.com)"
  • Expected
    • Installation completes without errors; x works.
  • Actual
    • After “Initialization SUCCESS”, multiple errors appear:
      • /Users/<user>/.x-cmd.root/v/.<hash>/mod/xrc/latest:267: command not found: xrc:mod
      • /Users/<user>/.x-cmd.root/v/.<hash>/mod/xrc/latest:268: command not found: ___x_cmd_log
      • /Users/<user>/.x-cmd.root/v/.<hash>/mod/xrc/latest:282: command not found: xrc:mod:lib
      • /Users/<user>/.x-cmd.root/v/.<hash>/mod/arg/latest:6: command not found: xrc:mod:lib
      • ___x_cmd___bootfast:5: command not found: ___x_cmd_is_suitable_pkg
  • Environment
    • macOS:
    • zsh: zsh 5.9 (arm64-apple-darwin24.0)
    • Install method: eval "$(curl https://get.x-cmd.com)" (latest)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions