Add conda init to zshrc
This commit is contained in:
parent
4b3cea6507
commit
abf0e0bb5c
16
.zshrc
16
.zshrc
|
@ -28,3 +28,19 @@ antigen apply
|
|||
if [ $TILIX_ID ] || [ $VTE_VERSION ]; then
|
||||
source /etc/profile.d/vte.sh
|
||||
fi
|
||||
|
||||
# >>> conda initialize >>>
|
||||
# !! Contents within this block are managed by 'conda init' !!
|
||||
__conda_setup="$('/home/matus/bin/anaconda3/bin/conda' 'shell.bash' 'hook' 2> /dev/null)"
|
||||
if [ $? -eq 0 ]; then
|
||||
eval "$__conda_setup"
|
||||
else
|
||||
if [ -f "/home/matus/bin/anaconda3/etc/profile.d/conda.sh" ]; then
|
||||
. "/home/matus/bin/anaconda3/etc/profile.d/conda.sh"
|
||||
else
|
||||
export PATH="/home/matus/bin/anaconda3/bin:$PATH"
|
||||
fi
|
||||
fi
|
||||
unset __conda_setup
|
||||
# <<< conda initialize <<<
|
||||
|
||||
|
|
Loading…
Reference in New Issue