From feff88339a38ab185e29c0b99ebe6033bdc6241c Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 9 Jul 2016 22:07:02 +0200 Subject: zsh: Fix pure startup --- tag-zsh/config/zsh/zshrc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/tag-zsh/config/zsh/zshrc b/tag-zsh/config/zsh/zshrc index 7d57417a..0004ec76 100644 --- a/tag-zsh/config/zsh/zshrc +++ b/tag-zsh/config/zsh/zshrc @@ -61,6 +61,11 @@ then 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 -- cgit 1.4.1