From dd15985ddee284808f074ccb0a059a0d3807b762 Mon Sep 17 00:00:00 2001 From: afonso Date: Mon, 8 Apr 2024 13:48:31 +0100 Subject: [PATCH] [zsh] added miniconda --- .zshrc | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/.zshrc b/.zshrc index da33519..1dd4c5d 100644 --- a/.zshrc +++ b/.zshrc @@ -120,15 +120,20 @@ source $ZSH/oh-my-zsh.sh # >>> conda initialize >>> # !! Contents within this block are managed by 'conda init' !! -__conda_setup="$('/Users/afonso/miniconda3/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)" +__conda_setup="$('/Users/afonso/.miniforge3/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)" if [ $? -eq 0 ]; then eval "$__conda_setup" else - if [ -f "/Users/afonso/miniconda3/etc/profile.d/conda.sh" ]; then - . "/Users/afonso/miniconda3/etc/profile.d/conda.sh" + if [ -f "/Users/afonso/.miniforge3/etc/profile.d/conda.sh" ]; then + . "/Users/afonso/.miniforge3/etc/profile.d/conda.sh" else - export PATH="/Users/afonso/miniconda3/bin:$PATH" + export PATH="/Users/afonso/.miniforge3/bin:$PATH" fi fi unset __conda_setup + +if [ -f "/Users/afonso/.miniforge3/etc/profile.d/mamba.sh" ]; then + . "/Users/afonso/.miniforge3/etc/profile.d/mamba.sh" +fi # <<< conda initialize <<< +