summary refs log tree commit diff stats
path: root/tag-zsh/config/zsh
diff options
context:
space:
mode:
authorAlan Pearce2016-07-15 12:34:43 +0200
committerAlan Pearce2016-07-15 12:34:43 +0200
commit4e44f51adb63fdf0284dfdf605fbd3231f62e1e0 (patch)
tree85cc7aa847930bfe70ae3ce5d68a06fdf9c932f9 /tag-zsh/config/zsh
parent2b2c9cf8c419be69dfa97bea4cc364ee99e9f006 (diff)
downloadnixfiles-4e44f51adb63fdf0284dfdf605fbd3231f62e1e0.tar.lz
nixfiles-4e44f51adb63fdf0284dfdf605fbd3231f62e1e0.tar.zst
nixfiles-4e44f51adb63fdf0284dfdf605fbd3231f62e1e0.zip
zsh: Load npm completion after compinit
Diffstat (limited to 'tag-zsh/config/zsh')
-rw-r--r--tag-zsh/config/zsh/zshrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tag-zsh/config/zsh/zshrc b/tag-zsh/config/zsh/zshrc
index 9a57bcff..f51ed45c 100644
--- a/tag-zsh/config/zsh/zshrc
+++ b/tag-zsh/config/zsh/zshrc
@@ -9,7 +9,6 @@ zplug "clvv/fasd", hook-build:"PREFIX=$HOME make install"
 zplug "alanpearce/zsh-directory-history", at:"dirlog-as-zsh-function", as:command, use:"dirhist"
 zplug "alanpearce/zsh-directory-history", at:"dirlog-as-zsh-function", as:plugin
 zplug "caarlos0/zsh-open-pr", as:plugin
-zplug "lukechilds/zsh-better-npm-completion", if:"[[ -n $commands[npm] ]]"
 if [[ -n $commands[nix-env] ]]
 then
 	zplug "spwhitt/nix-zsh-completions", as:plugin
@@ -17,6 +16,7 @@ then
 fi
 
 zplug "gerges/oh-my-zsh-jira-plus", as:plugin, if:"[[ ${(SN)HOST%spotcap} ]]"
+zplug "lukechilds/zsh-better-npm-completion", if:"[[ -n $commands[npm] ]]", nice:10
 zplug "hlissner/zsh-autopair", nice:10
 
 WORDCHARS=${${WORDCHARS//[-.]}//[\/]}