diff --git a/.zshrc b/.zshrc index b3f96a3..fdf55d5 100644 --- a/.zshrc +++ b/.zshrc @@ -197,3 +197,19 @@ then else eval "$(zoxide init zsh)" fi + +# >>> conda initialize >>> +# !! Contents within this block are managed by 'conda init' !! +__conda_setup="$('/home/plex/.local/share/miniconda3/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)" +if [ $? -eq 0 ]; then + eval "$__conda_setup" +else + if [ -f "/home/plex/.local/share/miniconda3/etc/profile.d/conda.sh" ]; then + . "/home/plex/.local/share/miniconda3/etc/profile.d/conda.sh" + else + export PATH="/home/plex/.local/share/miniconda3/bin:$PATH" + fi +fi +unset __conda_setup +# <<< conda initialize <<< +