tartansandal / conda-bash-completion

Bash completion support for conda
GNU General Public License v3.0
148 stars 7 forks source link

Installation command uses current env instead of base and pulls along other packages from conda-forge #21

Closed wjandrea closed 11 months ago

wjandrea commented 11 months ago

This installation didn't work for me:

conda install -c conda-forge conda-bash-completion

It installed the package in my currently active environment instead of base, but the manual activation instructions below use the base environment ($CONDA_ROOT/etc...). So it seems like the command should be instead:

conda install -n base -c conda-forge conda-bash-completion

But also, that command also includes other packages from conda-forge that I don't want, like conda itself. So I believe it should be changed to specify the channel only for this package:

conda install -n base conda-forge::conda-bash-completion

I'm not an expert on conda though, so grain of salt and all that.

I'm using Miniconda, if that's relevant.

wjandrea commented 11 months ago

NVM, after some other issues with conda, I'm switching to mamba.