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"
|
# alias ohmyzsh="mate ~/.oh-my-zsh"
|
||||||
|
|
||||||
# >>> conda initialize >>>
|
# >>> 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' !!
|
# !! Contents within this block are managed by 'conda init' !!
|
||||||
__conda_setup="$('/usr/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)"
|
# __conda_setup="$('/usr/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)"
|
||||||
if [ $? -eq 0 ]; then
|
# if [ $? -eq 0 ]; then
|
||||||
eval "$__conda_setup"
|
# eval "$__conda_setup"
|
||||||
else
|
# else
|
||||||
if [ -f "/usr/etc/profile.d/conda.sh" ]; then
|
# if [ -f "/usr/etc/profile.d/conda.sh" ]; then
|
||||||
. "/usr/etc/profile.d/conda.sh"
|
# . "/usr/etc/profile.d/conda.sh"
|
||||||
else
|
# else
|
||||||
export PATH="/usr/bin:$PATH"
|
# export PATH="/usr/bin:$PATH"
|
||||||
fi
|
# fi
|
||||||
fi
|
# fi
|
||||||
unset __conda_setup
|
# unset __conda_setup
|
||||||
# <<< conda initialize <<<
|
# <<< conda initialize <<<
|
||||||
|
#
|
||||||
|
|
||||||
alias socrates="ssh root@socrates"
|
alias socrates="ssh root@socrates"
|
||||||
alias almond_droplet="ssh tanguy@almond_droplet -p 22222"
|
alias almond_droplet="ssh tanguy@almond_droplet -p 22222"
|
||||||
|
Loading…
Reference in New Issue
Block a user