diff options
author | Alan Pearce | 2016-07-09 22:07:02 +0200 |
---|---|---|
committer | Alan Pearce | 2016-07-09 22:13:44 +0200 |
commit | feff88339a38ab185e29c0b99ebe6033bdc6241c (patch) | |
tree | eda504f4c763bd7cdf69093920d5a42d08b46af0 /tag-zsh/config/zsh/zshrc | |
parent | 4e3692216b416c7128ea7d580ffd87b61332487a (diff) | |
download | nixfiles-feff88339a38ab185e29c0b99ebe6033bdc6241c.tar.lz nixfiles-feff88339a38ab185e29c0b99ebe6033bdc6241c.tar.zst nixfiles-feff88339a38ab185e29c0b99ebe6033bdc6241c.zip |
zsh: Fix pure startup
Diffstat (limited to 'tag-zsh/config/zsh/zshrc')
-rw-r--r-- | tag-zsh/config/zsh/zshrc | 6 |
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 |