Conda init zsh ignores $ZDOTDIR variable #9362
Labels
good first issue
great for new contributors, code change is envisioned to be trivial/relatively straight-forward
locked
[bot] locked due to inactivity
type::bug
describes erroneous operation, use severity::* to classify the type
Current Behavior
When using
conda init zsh
, conda will create a .zshrc file in my$HOME
directory instead of looking for one in my$ZDOTDIR
directory.I have set
$ZDOTDIR
in a .zshenv file (in$HOME
), all my other zsh files, in particular .zshrc, are in$ZDOTDIR
. Since this duplicate file created by conda won't be read by the shell, conda packages can't be called.Steps to Reproduce
On zsh:
Set
$ZDOTDIR
to a directory different from$HOME
.Move or create a .zshrc file in
$ZDOTDIR
.run
conda init zsh
.Expected Behavior
Conda init zsh
should look for .zshrc in$ZDOTDIR
(as zsh does).I understand the problem can easily be fixed by copy-pasting the text from one file to another,
but it would be better if the default behavior was to look for the .zshrc file in
$ZDOTDIR
.Environment Information
`conda info`
`conda config --show-sources`
`conda list --show-channel-urls`
The text was updated successfully, but these errors were encountered: