Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 14 additions & 0 deletions .zshrc.conda
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('/Users/$USER/miniforge3/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
eval "$__conda_setup"
else
if [ -f "/Users/$USER/miniforge3/etc/profile.d/conda.sh" ]; then
. "/Users/$USER/miniforge3/etc/profile.d/conda.sh"
else
export PATH="/Users/$USER/miniforge3/bin:$PATH"
fi
fi
unset __conda_setup
# <<< conda initialize <<<
1 change: 1 addition & 0 deletions zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -25,3 +25,4 @@ plugins=(

source $ZSH/oh-my-zsh.sh
[ -f "$HOME/.zshrc.local" ] && source ~/.zshrc.local
[ -f "$HOME/.zshrc.conda" ] && source ~/.zshrc.local