Closed ChrisKeefe closed 2 years ago
Done with trying to do this with conda init
.
#
# To activate this environment, use
#
# $ conda activate prov
#
# To deactivate an active environment, use
#
# $ conda deactivate
+ conda init zsh
no change /usr/local/miniconda/condabin/conda
no change /usr/local/miniconda/bin/conda
no change /usr/local/miniconda/bin/conda-env
no change /usr/local/miniconda/bin/activate
+ echo 'These are the files modified by conda init zsh'
no change /usr/local/miniconda/bin/deactivate
no change /usr/local/miniconda/etc/profile.d/conda.sh
no change /usr/local/miniconda/etc/fish/conf.d/conda.fish
no change /usr/local/miniconda/shell/condabin/Conda.psm1
modified /usr/local/miniconda/shell/condabin/conda-hook.ps1
no change /usr/local/miniconda/lib/python3.9/site-packages/xontrib/conda.xsh
no change /usr/local/miniconda/etc/profile.d/conda.csh
modified /Users/runner/.zshrc
==> For changes to take effect, close and re-open your current shell. <==
These are the files modified by conda init zsh
+ source /usr/local/miniconda/shell/condabin/conda-hook.ps1
++ :CONDA_EXE = /usr/local/miniconda/bin/conda
/usr/local/miniconda/shell/condabin/conda-hook.ps1: line 1: :CONDA_EXE: command not found
Error: Process completed with exit code 127.
This guy seems to work for #48, so I'm going with it.
source ${CONDA}/etc/profile.d/conda.sh
conda activate prov
conda init zsh
is failing just likeconda init bash
andconda init $SHELL
Will attempt to manually source the updated files, and will bail on the "right way" if that fails