Setting 'alias conda="/path/to/miniconda3/bin/conda"
' before conda initialized breaks conda
#12885
Open
2 tasks done
Labels
severity::4
low; functionality is inconvenient
source::community
catch-all for issues filed by community members
type::bug
describes erroneous operation, use severity::* to classify the type
Checklist
What happened?
In bash, haven't tested other shells, if in your .bashrc or .bash_profile before the conda initialize code block you add
alias conda="/path/to/miniconda3/bin/conda"
it breaks conda. It appears to create a loop that injects '/path/to/miniconda3/bin' over and over into your PATH variable. Tested with a couple different versions of conda on both Mac & Linux and it does the same thing.For example if in my ~/.bashrc I change it from...
To...
Then launch a new shell. Running
echo $PATH
will show the repeat injection and conda will be very slow if it works at all.Conda Info
Conda Config
Conda list
Additional Context
No response
The text was updated successfully, but these errors were encountered: