mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-12-25 13:42:23 +00:00
conditional anaconda setup
This commit is contained in:
parent
d4041b68a9
commit
ee51b1d0b8
1 changed files with 13 additions and 11 deletions
|
@ -98,20 +98,22 @@ export ANDROID_HOME="/home/leon/Android/Sdk"
|
|||
export ANDROID_NDK="/home/leon/Android/Sdk/ndk/21.4.7075529"
|
||||
export JAVA_HOME="/usr/lib/jvm/java-1.19.0-openjdk-amd64/"
|
||||
|
||||
# >>> conda initialize >>>
|
||||
# !! Contents within this block are managed by 'conda init' !!
|
||||
__conda_setup="$('/home/leon/anaconda3/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)"
|
||||
if [ $? -eq 0 ]; then
|
||||
eval "$__conda_setup"
|
||||
else
|
||||
if [ -f "/home/leon/anaconda3/etc/profile.d/conda.sh" ]; then
|
||||
. "/home/leon/anaconda3/etc/profile.d/conda.sh"
|
||||
if [ -d "$HOME/anaconda3" ]; then
|
||||
# >>> conda initialize >>>
|
||||
# !! Contents within this block are managed by 'conda init' !!
|
||||
__conda_setup="$('/home/leon/anaconda3/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)"
|
||||
if [ $? -eq 0 ]; then
|
||||
eval "$__conda_setup"
|
||||
else
|
||||
export PATH="/home/leon/anaconda3/bin:$PATH"
|
||||
if [ -f "/home/leon/anaconda3/etc/profile.d/conda.sh" ]; then
|
||||
. "/home/leon/anaconda3/etc/profile.d/conda.sh"
|
||||
else
|
||||
export PATH="/home/leon/anaconda3/bin:$PATH"
|
||||
fi
|
||||
fi
|
||||
unset __conda_setup
|
||||
# <<< conda initialize <<<
|
||||
fi
|
||||
unset __conda_setup
|
||||
# <<< conda initialize <<<
|
||||
|
||||
export PATH="/home/leon/.volta/bin:$PATH"
|
||||
|
||||
|
|
Loading…
Reference in a new issue