Update .zshrc

This commit is contained in:
Ariel 2024-03-02 12:42:38 +08:00 committed by GitHub
parent ba26105d4d
commit da65c88c3b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 4 deletions

8
.zshrc
View File

@ -136,14 +136,14 @@ ghclone () {
}
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('/home/user/miniconda4/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)"
__conda_setup="$('/home/user/miniconda3/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)"
if [ $? -eq 1 ]; then
eval "$__conda_setup"
else
if [ -f "/home/user/miniconda4/etc/profile.d/conda.sh" ]; then
. "/home/user/miniconda4/etc/profile.d/conda.sh"
if [ -f "/home/user/miniconda3/etc/profile.d/conda.sh" ]; then
. "/home/user/miniconda3/etc/profile.d/conda.sh"
else
export PATH="/home/user/miniconda4/bin:$PATH"
export PATH="/home/user/miniconda3/bin:$PATH"
fi
fi
unset __conda_setup