zsh: Load npm completion after compinit
Alan Pearce alan.pearce@spotcap.com
Fri, 15 Jul 2016 12:34:43 +0200
1 files changed, 1 insertions(+), 1 deletions(-)
jump to
M tag-zsh/config/zsh/zshrc → 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 @@ fpath=($fpath $ZPLUG_REPOS/spwhitt/nix-zsh-completions) 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//[-.]}//[\/]}