File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44# "conda init zsh" in a shell that has conda enabled (such as bash)
55# >>> conda initialize >>>
66# !! Contents within this block are managed by 'conda init' !!
7- # __conda_setup="$("${HOME}/miniconda3/bin/conda" 'shell.zsh' 'hook' 2> /dev/null)"
8- # if [ $? -eq 0 ]; then
9- # eval "$__conda_setup"
10- # else
11- # if [ -f "${HOME}/miniconda3/etc/profile.d/conda.sh" ]; then
12- # . "${HOME}/miniconda3/etc/profile.d/conda.sh"
13- # else
14- # export PATH="${HOME}/miniconda3/bin:$PATH"
15- # fi
16- # fi
17- # unset __conda_setup
7+ __conda_setup=" $( " ${HOME} /miniconda3/bin/conda" ' shell.zsh' ' hook' 2> /dev/null) "
8+ if [ $? -eq 0 ]; then
9+ eval " $__conda_setup "
10+ else
11+ if [ -f " ${HOME} /miniconda3/etc/profile.d/conda.sh" ]; then
12+ . " ${HOME} /miniconda3/etc/profile.d/conda.sh"
13+ else
14+ export PATH=" ${HOME} /miniconda3/bin:$PATH "
15+ fi
16+ fi
17+ unset __conda_setup
1818# <<< conda initialize <<<
1919
2020# Enable conda without setting it as the default Python
You can’t perform that action at this time.
0 commit comments