[zsh] added miniconda

This commit is contained in:
Afonso Franco 2024-04-08 13:48:31 +01:00
parent 96e5a64af4
commit dd15985dde
Signed by: afonso
SSH key fingerprint: SHA256:aiLbdlPwXKJS5wMnghdtod0SPy8imZjlVvCyUX9DJNk

13
.zshrc
View file

@ -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 <<<