conditional anaconda setup

This commit is contained in:
elkowar 2023-03-05 09:30:21 +01:00
parent d4041b68a9
commit ee51b1d0b8
No known key found for this signature in database
GPG key ID: E321AD71B1D1F27F

View file

@ -98,6 +98,7 @@ export ANDROID_HOME="/home/leon/Android/Sdk"
export ANDROID_NDK="/home/leon/Android/Sdk/ndk/21.4.7075529" export ANDROID_NDK="/home/leon/Android/Sdk/ndk/21.4.7075529"
export JAVA_HOME="/usr/lib/jvm/java-1.19.0-openjdk-amd64/" export JAVA_HOME="/usr/lib/jvm/java-1.19.0-openjdk-amd64/"
if [ -d "$HOME/anaconda3" ]; then
# >>> conda initialize >>> # >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !! # !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('/home/leon/anaconda3/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)" __conda_setup="$('/home/leon/anaconda3/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)"
@ -112,6 +113,7 @@ else
fi fi
unset __conda_setup unset __conda_setup
# <<< conda initialize <<< # <<< conda initialize <<<
fi
export PATH="/home/leon/.volta/bin:$PATH" export PATH="/home/leon/.volta/bin:$PATH"