zsh: Fix pure startup
Alan Pearce alan@alanpearce.co.uk
Sat, 09 Jul 2016 22:07:02 +0200
1 files changed, 5 insertions(+), 1 deletions(-)
jump to
M tag-zsh/config/zsh/zshrc → tag-zsh/config/zsh/zshrc
@@ -61,6 +61,11 @@ AUTOENV_HANDLE_LEAVE=0 AUTOENV_LOOK_UPWARDS=1 fi +if zplug check sindresorhus/pure +then + PURE_GIT_PULL=0 +fi + # Then, source plugins and add commands to $PATH zplug load @@ -74,7 +79,6 @@ fi if zplug check sindresorhus/pure then - PURE_GIT_PULL=0 autoload -Uz promptinit && promptinit prompt pure &> /dev/null fi