4f15bd15e5df830c27a35740f046ade81ba9efb1

Author
Marc Cornellà <marc.cornella@live.com>
Committer
GitHub <noreply@github.com>
Date

Message

Properly fix npm completion source

Problem introduced in 136a834.

Diff

 1diff --git a/plugins/npm/npm.plugin.zsh b/plugins/npm/npm.plugin.zsh
 2index 480e92a91ba9a1a5f93d95acd36576f496de665a..30b91ec9c81dc6791b8f391c78f0333083fec6bf 100644
 3--- a/plugins/npm/npm.plugin.zsh
 4+++ b/plugins/npm/npm.plugin.zsh
 5@@ -4,9 +4,9 @@
 6     if [[ ! -f $__NPM_COMPLETION_FILE ]]; then
 7         npm completion >! $__NPM_COMPLETION_FILE || rm -f $__NPM_COMPLETION_FILE
 8     fi
 9-}
10 
11-source $__NPM_COMPLETION_FILE
12+    source $__NPM_COMPLETION_FILE
13+}
14 
15 # Install dependencies globally
16 alias npmg="npm i -g "