Fix conda activation lagging out console init
This commit is contained in:
parent
5423b1e5b4
commit
f8f327c0d8
24
.zshrc
24
.zshrc
@ -106,19 +106,21 @@ export LANG=en_US.UTF-8
|
||||
# alias ohmyzsh="mate ~/.oh-my-zsh"
|
||||
|
||||
# >>> conda initialize >>>
|
||||
[ -f /opt/miniconda3/etc/profile.d/conda.sh ] && source /opt/miniconda3/etc/profile.d/conda.sh
|
||||
# !! Contents within this block are managed by 'conda init' !!
|
||||
__conda_setup="$('/usr/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)"
|
||||
if [ $? -eq 0 ]; then
|
||||
eval "$__conda_setup"
|
||||
else
|
||||
if [ -f "/usr/etc/profile.d/conda.sh" ]; then
|
||||
. "/usr/etc/profile.d/conda.sh"
|
||||
else
|
||||
export PATH="/usr/bin:$PATH"
|
||||
fi
|
||||
fi
|
||||
unset __conda_setup
|
||||
# __conda_setup="$('/usr/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)"
|
||||
# if [ $? -eq 0 ]; then
|
||||
# eval "$__conda_setup"
|
||||
# else
|
||||
# if [ -f "/usr/etc/profile.d/conda.sh" ]; then
|
||||
# . "/usr/etc/profile.d/conda.sh"
|
||||
# else
|
||||
# export PATH="/usr/bin:$PATH"
|
||||
# fi
|
||||
# fi
|
||||
# unset __conda_setup
|
||||
# <<< conda initialize <<<
|
||||
#
|
||||
|
||||
alias socrates="ssh root@socrates"
|
||||
alias almond_droplet="ssh tanguy@almond_droplet -p 22222"
|
||||
|
Loading…
Reference in New Issue
Block a user