From 4e44f51adb63fdf0284dfdf605fbd3231f62e1e0 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Fri, 15 Jul 2016 12:34:43 +0200 Subject: zsh: Load npm completion after compinit --- tag-zsh/config/zsh/zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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//[-.]}//[\/]} -- cgit 1.4.1