summaryrefslogtreecommitdiff
path: root/plugins/npm
diff options
context:
space:
mode:
authorMarc Cornellà <marc.cornella@live.com>2016-09-10 00:23:16 +0200
committerMarc Cornellà <marc.cornella@live.com>2016-09-10 00:23:50 +0200
commitb70842bae4346c793e4932d467dd566baeee7d64 (patch)
tree845736a086eff85cb4c6a584c8264f13345314f6 /plugins/npm
parent76924b7f5fbcfc808b00c76df13dd176a46cda6c (diff)
downloadzsh-b70842bae4346c793e4932d467dd566baeee7d64.tar.gz
zsh-b70842bae4346c793e4932d467dd566baeee7d64.tar.bz2
zsh-b70842bae4346c793e4932d467dd566baeee7d64.zip
npm: unset NPM_COMPLETION_FILE variable
Diffstat (limited to 'plugins/npm')
-rw-r--r--plugins/npm/npm.plugin.zsh2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/npm/npm.plugin.zsh b/plugins/npm/npm.plugin.zsh
index b5166b517..02e4f3e93 100644
--- a/plugins/npm/npm.plugin.zsh
+++ b/plugins/npm/npm.plugin.zsh
@@ -7,6 +7,8 @@
fi
[[ -f $__NPM_COMPLETION_FILE ]] && source $__NPM_COMPLETION_FILE
+
+ unset __NPM_COMPLETION_FILE
}
# Install dependencies globally