Improve speed of loading scripts
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
# Initializae pyenv
|
||||
|
||||
if can_run pyenv; then
|
||||
export PYENV_ROOT=${PYENV_ROOT:-$HOME/.pyenv}
|
||||
eval "$(pyenv init -)"
|
||||
if (( ! $LWS_FAST )); then
|
||||
if can_run pyenv; then
|
||||
export PYENV_ROOT=${PYENV_ROOT:-$HOME/.pyenv}
|
||||
eval "$(pyenv init -)"
|
||||
fi
|
||||
fi
|
||||
|
||||
@@ -3,4 +3,3 @@ if [[ -z "$LWS_FAST" ]]; then
|
||||
eval "$(thefuck --alias)"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user