Last active
May 8, 2021 23:51
-
-
Save osmszk/187909a1a44082b7a9e28a754d401479 to your computer and use it in GitHub Desktop.
miniforge3(@m1 Mac)の、condaの初期化コマンド(.zshrcに書き込むもの)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# >>> conda initialize >>> | |
# !! Contents within this block are managed by 'conda init' !! | |
__conda_setup="$('~/miniforge3/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)" | |
if [ $? -eq 0 ]; then | |
eval "$__conda_setup" | |
else | |
if [ -f "~/miniforge3/etc/profile.d/conda.sh" ]; then | |
. "~/miniforge3/etc/profile.d/conda.sh" | |
else | |
export PATH="~/miniforge3/bin:$PATH" | |
fi | |
fi | |
unset __conda_setup | |
# <<< conda initialize <<< |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment