From ee006d0fecdc2db887d08a9864fea8b2f53f9473 Mon Sep 17 00:00:00 2001 From: paul-loedige Date: Wed, 10 Jan 2024 14:02:11 +0100 Subject: [PATCH] added anaconda config for anaconda AUR package --- zsh/.zshrc | 16 ++-------------- 1 file changed, 2 insertions(+), 14 deletions(-) diff --git a/zsh/.zshrc b/zsh/.zshrc index f1c8150..5834e7f 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -141,20 +141,8 @@ 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 <<< + +source /opt/anaconda/etc/profile.d/conda.sh # To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. [[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh