2021-12-08 09:38:24 -06:00
|
|
|
# Updated to use $HOME
|
|
|
|
|
|
|
|
# >>> conda initialize >>>
|
|
|
|
# !! Contents within this block are managed by 'conda init' !!
|
2022-01-18 12:29:42 -06:00
|
|
|
__conda_setup="$('$HOME/mambaforge/bin/conda' 'shell.zsh' 'hook' 2>/dev/null)"
|
2021-12-08 09:38:24 -06:00
|
|
|
if [ $? -eq 0 ]; then
|
2022-01-18 12:29:42 -06:00
|
|
|
eval "$__conda_setup"
|
2021-12-08 09:38:24 -06:00
|
|
|
else
|
2022-01-18 12:29:42 -06:00
|
|
|
if [ -f "$HOME/mambaforge/etc/profile.d/conda.sh" ]; then
|
|
|
|
. "$HOME/mambaforge/etc/profile.d/conda.sh"
|
|
|
|
else
|
|
|
|
export PATH="$HOME/mambaforge/bin:$PATH"
|
|
|
|
fi
|
2021-12-08 09:38:24 -06:00
|
|
|
fi
|
|
|
|
unset __conda_setup
|
|
|
|
|
|
|
|
if [ -f "$HOME/mambaforge/etc/profile.d/mamba.sh" ]; then
|
2022-01-18 12:29:42 -06:00
|
|
|
. "$HOME/mambaforge/etc/profile.d/mamba.sh"
|
2021-12-08 09:38:24 -06:00
|
|
|
fi
|
|
|
|
# <<< conda initialize <<<
|
|
|
|
|
|
|
|
[ -d "$HOME/mambaforge/envs/dev" ] && conda activate dev
|