rvm: use self-sustained script instead of lazy load

This commit is contained in:
Spotlight 2020-04-15 22:15:47 +00:00
parent a68b4ef109
commit f06d788746
Signed by: spotlight
GPG key ID: 874AA355B3209BDC

7
zshrc
View file

@ -10,7 +10,6 @@ zplug "felixr/docker-zsh-completion"
zplug "zsh-users/zsh-syntax-highlighting"
zplug "zsh-users/zsh-autosuggestions"
zplug "zsh-users/zsh-completions"
zplug "johnhamelink/rvm-zsh", lazy:true
bindkey "$terminfo[kcuu1]" history-beginning-search-backward
bindkey "$terminfo[kcud1]" history-beginning-search-forward
@ -119,3 +118,9 @@ fi
if [ -d $HOME/.fastlane ]; then
export PATH="$HOME/.fastlane/bin:$PATH"
fi
# RVM must be last.
if [ -d $HOME/.rvm ]; then
PATH=${PATH}:$HOME/.rvm/bin
[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm" ]]
fi