summaryrefslogtreecommitdiff
path: root/plugins/npm/npm.plugin.zsh
diff options
context:
space:
mode:
authorMarc Cornellà <marc.cornella@live.com>2016-08-24 00:13:24 +0200
committerGitHub <noreply@github.com>2016-08-24 00:13:24 +0200
commit4f15bd15e5df830c27a35740f046ade81ba9efb1 (patch)
tree4bd003159324d0bac3a21274e298b7ff410dc4e5 /plugins/npm/npm.plugin.zsh
parent9e81b79d90606bc0afb6ce17867ff4d42df3ab37 (diff)
downloadzsh-4f15bd15e5df830c27a35740f046ade81ba9efb1.tar.gz
zsh-4f15bd15e5df830c27a35740f046ade81ba9efb1.tar.bz2
zsh-4f15bd15e5df830c27a35740f046ade81ba9efb1.zip
Properly fix npm completion source
Problem introduced in 136a834.
Diffstat (limited to 'plugins/npm/npm.plugin.zsh')
-rw-r--r--plugins/npm/npm.plugin.zsh4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/npm/npm.plugin.zsh b/plugins/npm/npm.plugin.zsh
index 480e92a91..30b91ec9c 100644
--- a/plugins/npm/npm.plugin.zsh
+++ b/plugins/npm/npm.plugin.zsh
@@ -4,9 +4,9 @@
if [[ ! -f $__NPM_COMPLETION_FILE ]]; then
npm completion >! $__NPM_COMPLETION_FILE || rm -f $__NPM_COMPLETION_FILE
fi
-}
-source $__NPM_COMPLETION_FILE
+ source $__NPM_COMPLETION_FILE
+}
# Install dependencies globally
alias npmg="npm i -g "