From a68b4ef109b303058466579544ff3ec308e6fa69 Mon Sep 17 00:00:00 2001 From: Spotlight Date: Mon, 30 Sep 2019 11:44:34 -0500 Subject: [PATCH] Slightly improve perf --- zshrc | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/zshrc b/zshrc index 905a3ec..20ed747 100644 --- a/zshrc +++ b/zshrc @@ -7,9 +7,10 @@ source $ZPLUG_HOME/init.zsh zplug "felixr/docker-zsh-completion" # Stuff that modifies -zplug "zsh-users/zsh-syntax-highlighting", defer:2 -zplug "zsh-users/zsh-autosuggestions", defer:2 -zplug "zsh-users/zsh-completions", defer:2 +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 @@ -104,11 +105,6 @@ if [[ $OSTYPE == darwin* ]]; then export PATH="/usr/local/bin:/usr/local/sbin:${PATH}" fi -if [ -s $HOME/.rvm/scripts/rvm ]; then - source "$HOME/.rvm/scripts/rvm" - export PATH="$PATH:$HOME/.rvm/bin" -fi - # Personal preferences export EDITOR=vim export GO111MODULE=on