b70842bae4346c793e4932d467dd566baeee7d64

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

Message

npm: unset NPM_COMPLETION_FILE variable

Diff

 1diff --git a/plugins/npm/npm.plugin.zsh b/plugins/npm/npm.plugin.zsh
 2index b5166b5179613b9de117d7acd12f32f3f3193923..02e4f3e93f0deffbcf4ffbd93a045c294974d830 100644
 3--- a/plugins/npm/npm.plugin.zsh
 4+++ b/plugins/npm/npm.plugin.zsh
 5@@ -7,6 +7,8 @@
 6     fi
 7 
 8     [[ -f $__NPM_COMPLETION_FILE ]] && source $__NPM_COMPLETION_FILE
 9+
10+    unset __NPM_COMPLETION_FILE
11 }
12 
13 # Install dependencies globally