From 1f671f11fbd7f122c5936dbe8b226ba5137225a1 Mon Sep 17 00:00:00 2001 From: Jonathon Vandezande Date: Thu, 1 Dec 2022 11:28:23 -0500 Subject: [PATCH] Add mamba to zshrc. --- zshrc | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/zshrc b/zshrc index fa3a4eb..998d164 100755 --- a/zshrc +++ b/zshrc @@ -2,15 +2,19 @@ source $HOME/.dotfiles/zsh/setup.zsh # >>> conda initialize >>> # !! Contents within this block are managed by 'conda init' !! -__conda_setup=$("$HOME/progs/anaconda3/bin/conda" "shell.zsh" "hook" 2> /dev/null) +__conda_setup=$("$HOME/progs/mamba/bin/conda" "shell.zsh" "hook" 2> /dev/null) if [ $? -eq 0 ]; then eval "$__conda_setup" else - if [ -f "$HOME/progs/anaconda3/etc/profile.d/conda.sh" ]; then - . "$HOME/progs/anaconda3/etc/profile.d/conda.sh" + if [ -f "$HOME/progs/mamba/etc/profile.d/conda.sh" ]; then + . "$HOME/progs/mamba/etc/profile.d/conda.sh" else - export PATH="$HOME/progs/anaconda3/bin:$PATH" + export PATH="$HOME/progs/mamba/bin:$PATH" fi fi unset __conda_setup + +if [ -f "$HOME/progs/mamba/etc/profile.d/mamba.sh" ]; then + . "$HOME/progs/mamba/etc/profile.d/mamba.sh" +fi # <<< conda initialize <<<