From 71700cdd1c2f9d7bd994d11d6b1b3265689ea91a Mon Sep 17 00:00:00 2001 From: Shahar Date: Fri, 10 Jul 2015 05:01:01 +0300 Subject: [PATCH] npm-path module: fixed function name --- plugins/npm-path/npm-path.plugin.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/npm-path/npm-path.plugin.zsh b/plugins/npm-path/npm-path.plugin.zsh index 90047d784..1b74fb5e7 100644 --- a/plugins/npm-path/npm-path.plugin.zsh +++ b/plugins/npm-path/npm-path.plugin.zsh @@ -1,4 +1,4 @@ -zsh-node_modules-bin-update-path() { +zsh-npm-path() { if [[ ! -x $(which npm) ]]; then # there is no npm return @@ -12,4 +12,4 @@ zsh-node_modules-bin-update-path() { export PATH=$(npm-path) } -precmd_functions+="zsh-node_modules-bin-update-path" +precmd_functions+="zsh-npm-path"