mirror of
https://github.com/boxpositron/absolute-dotfiles.git
synced 2026-02-28 11:40:37 +00:00
chore(.zshrc): comment out the export PATH line added by conda initialize to prevent conflicts with anaconda setup
This commit is contained in:
18
.zshrc
18
.zshrc
@@ -259,7 +259,7 @@ PERL_MM_OPT="INSTALL_BASE=$HOME/perl5"; export PERL_MM_OPT;
|
||||
|
||||
|
||||
## Setup anaconda
|
||||
export PATH="/opt/homebrew/anaconda3/bin:$PATH"
|
||||
# export PATH="/opt/homebrew/anaconda3/bin:$PATH" # commented out by conda initialize
|
||||
|
||||
#THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!
|
||||
export SDKMAN_DIR="$HOME/.sdkman"
|
||||
@@ -270,3 +270,19 @@ export STARSHIP_CONFIG="$HOME/.config/starship.toml"
|
||||
eval "$(starship init zsh)"
|
||||
|
||||
|
||||
|
||||
# >>> conda initialize >>>
|
||||
# !! Contents within this block are managed by 'conda init' !!
|
||||
__conda_setup="$('/opt/homebrew/anaconda3/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)"
|
||||
if [ $? -eq 0 ]; then
|
||||
eval "$__conda_setup"
|
||||
else
|
||||
if [ -f "/opt/homebrew/anaconda3/etc/profile.d/conda.sh" ]; then
|
||||
. "/opt/homebrew/anaconda3/etc/profile.d/conda.sh"
|
||||
else
|
||||
export PATH="/opt/homebrew/anaconda3/bin:$PATH"
|
||||
fi
|
||||
fi
|
||||
unset __conda_setup
|
||||
# <<< conda initialize <<<
|
||||
|
||||
|
||||
Reference in New Issue
Block a user