From abf0e0bb5c1f35c1ceaa9bc12aa0586cd83e355f Mon Sep 17 00:00:00 2001 From: Mathis Date: Tue, 21 Jan 2020 10:29:28 +0100 Subject: [PATCH] Add conda init to zshrc --- .zshrc | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/.zshrc b/.zshrc index 4425d07..d94e07c 100644 --- a/.zshrc +++ b/.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 <<< +