summary refs log tree commit diff stats
path: root/tag-zsh/config/zsh/zshrc
diff options
context:
space:
mode:
authorAlan Pearce2016-07-15 09:57:55 +0200
committerAlan Pearce2016-07-15 09:57:55 +0200
commit2b2c9cf8c419be69dfa97bea4cc364ee99e9f006 (patch)
tree959a17e565b65483f79699ec8f5a3e48afe60298 /tag-zsh/config/zsh/zshrc
parent9a5995c3f342052340702dcd18fab2bcba40da57 (diff)
downloadnixfiles-2b2c9cf8c419be69dfa97bea4cc364ee99e9f006.tar.lz
nixfiles-2b2c9cf8c419be69dfa97bea4cc364ee99e9f006.tar.zst
nixfiles-2b2c9cf8c419be69dfa97bea4cc364ee99e9f006.zip
zsh: Install better npm completion
Diffstat (limited to 'tag-zsh/config/zsh/zshrc')
-rw-r--r--tag-zsh/config/zsh/zshrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/tag-zsh/config/zsh/zshrc b/tag-zsh/config/zsh/zshrc
index 2fc024c7..9a57bcff 100644
--- a/tag-zsh/config/zsh/zshrc
+++ b/tag-zsh/config/zsh/zshrc
@@ -9,6 +9,7 @@ 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