[zsh] added miniconda
This commit is contained in:
parent
96e5a64af4
commit
dd15985dde
1 changed files with 9 additions and 4 deletions
13
.zshrc
13
.zshrc
|
@ -120,15 +120,20 @@ source $ZSH/oh-my-zsh.sh
|
||||||
|
|
||||||
# >>> conda initialize >>>
|
# >>> conda initialize >>>
|
||||||
# !! Contents within this block are managed by 'conda init' !!
|
# !! Contents within this block are managed by 'conda init' !!
|
||||||
__conda_setup="$('/Users/afonso/miniconda3/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)"
|
__conda_setup="$('/Users/afonso/.miniforge3/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)"
|
||||||
if [ $? -eq 0 ]; then
|
if [ $? -eq 0 ]; then
|
||||||
eval "$__conda_setup"
|
eval "$__conda_setup"
|
||||||
else
|
else
|
||||||
if [ -f "/Users/afonso/miniconda3/etc/profile.d/conda.sh" ]; then
|
if [ -f "/Users/afonso/.miniforge3/etc/profile.d/conda.sh" ]; then
|
||||||
. "/Users/afonso/miniconda3/etc/profile.d/conda.sh"
|
. "/Users/afonso/.miniforge3/etc/profile.d/conda.sh"
|
||||||
else
|
else
|
||||||
export PATH="/Users/afonso/miniconda3/bin:$PATH"
|
export PATH="/Users/afonso/.miniforge3/bin:$PATH"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
unset __conda_setup
|
unset __conda_setup
|
||||||
|
|
||||||
|
if [ -f "/Users/afonso/.miniforge3/etc/profile.d/mamba.sh" ]; then
|
||||||
|
. "/Users/afonso/.miniforge3/etc/profile.d/mamba.sh"
|
||||||
|
fi
|
||||||
# <<< conda initialize <<<
|
# <<< conda initialize <<<
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue