[X] My problem is not solved in the Troubleshooting docs
How did you install Mamba?
Mambaforge
Search tried in issue tracker
mamba init tcsh
Latest version of Mamba
[X] My problem is not solved with the latest version
Tried in Conda?
I do not have this problem with Conda, just with Mamba
Describe your issue
mamba init --help lists several supported shells (inherited from conda): [bash, fish, powershell, tcsh, xonsh, zsh]. However, tcsh is not correctly supported.
With tcsh as the shell, mamba_shell_init.py uses MAMBA_SNIPPET_SH, since there's a special case for fish and everything else is treated the same:
This is invalid syntax in tcsh. Even fixing that snippet, you will probably need to bring in a shell_templates/mamba.csh similar to conda.csh.
Supporting tcsh would be the preferred solution, but preventing unsupported shells from being listed in mamba init --help (presumably by modifying conda.base.constants.COMPATIBLE_SHELLS?) would also solve.
Troubleshooting docs
How did you install Mamba?
Mambaforge
Search tried in issue tracker
mamba init tcsh
Latest version of Mamba
Tried in Conda?
I do not have this problem with Conda, just with Mamba
Describe your issue
mamba init --help
lists several supported shells (inherited from conda):[bash, fish, powershell, tcsh, xonsh, zsh]
. However,tcsh
is not correctly supported.With
tcsh
as the shell,mamba_shell_init.py
usesMAMBA_SNIPPET_SH
, since there's a special case forfish
and everything else is treated the same:https://github.com/mamba-org/mamba/blob/6f6fdd7b982d7bebfc5ffb982cfa3d2849977209/mamba/mamba/mamba_shell_init.py#L13-L17
This is invalid syntax in tcsh. Even fixing that snippet, you will probably need to bring in a
shell_templates/mamba.csh
similar to conda.csh.Supporting tcsh would be the preferred solution, but preventing unsupported shells from being listed in
mamba init --help
(presumably by modifyingconda.base.constants.COMPATIBLE_SHELLS
?) would also solve.mamba info / micromamba info
No response
Logs
No response
environment.yml
No response
~/.condarc
No response