Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

micromamba shell init uses -p for the root prefix #2442

Closed
pavelzw opened this issue Apr 5, 2023 · 0 comments · Fixed by #2538
Closed

micromamba shell init uses -p for the root prefix #2442

pavelzw opened this issue Apr 5, 2023 · 0 comments · Fixed by #2538

Comments

@pavelzw
Copy link
Member

pavelzw commented Apr 5, 2023

micromamba shell init uses -p to supply the root prefix. This is inconsistent behavior with all other places where you can supply the root prefix. This is usually done via -r.

❯ micromamba shell --help
[...]
Options:
  -h,--help                   Print this help message and exit
  -s,--shell TEXT:{bash,cmd.exe,dash,fish,posix,powershell,tcsh,xonsh,zsh}
                              A shell type
  --stack                     Stack the environment being activated
  -p,-n,--prefix,--name TEXT  The root prefix to configure (for init and hook), and the prefix to activate for activate, either by name or by path
[...]
❯ micromamba --help
[...]
Prefix options:
  -r,--root-prefix TEXT       Path to the root prefix
  -p,--prefix TEXT            Path to the target prefix
  --relocate-prefix TEXT      Path to the relocation prefix
  -n,--name TEXT              Name of the target prefix
[...]
# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants