summary refs log tree commit diff stats
path: root/tag-zsh/config
diff options
context:
space:
mode:
authorAlan Pearce2016-07-09 22:07:02 +0200
committerAlan Pearce2016-07-09 22:13:44 +0200
commitfeff88339a38ab185e29c0b99ebe6033bdc6241c (patch)
treeeda504f4c763bd7cdf69093920d5a42d08b46af0 /tag-zsh/config
parent4e3692216b416c7128ea7d580ffd87b61332487a (diff)
downloadnixfiles-feff88339a38ab185e29c0b99ebe6033bdc6241c.tar.lz
nixfiles-feff88339a38ab185e29c0b99ebe6033bdc6241c.tar.zst
nixfiles-feff88339a38ab185e29c0b99ebe6033bdc6241c.zip
zsh: Fix pure startup
Diffstat (limited to 'tag-zsh/config')
-rw-r--r--tag-zsh/config/zsh/zshrc6
1 files changed, 5 insertions, 1 deletions
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