From 19abc0c145756deccfd99554e36681d02dd0587c Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Tue, 16 Nov 2021 12:54:11 +0100 Subject: [PATCH] added conda to zsh --- zsh/.zshrc | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/zsh/.zshrc b/zsh/.zshrc index e40d138..92c0fbb 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -142,4 +142,17 @@ alias log='git log' #neofetch neofetch - +# >>> conda initialize >>> +# !! Contents within this block are managed by 'conda init' !! +__conda_setup="$('/home/paul/anaconda3/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)" +if [ $? -eq 0 ]; then + eval "$__conda_setup" +else + if [ -f "/home/paul/anaconda3/etc/profile.d/conda.sh" ]; then + . "/home/paul/anaconda3/etc/profile.d/conda.sh" + else + export PATH="/home/paul/anaconda3/bin:$PATH" + fi +fi +unset __conda_setup +# <<< conda initialize <<<