mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-03-20 03:13:33 +01:00
npm-path module: fixed function name
This commit is contained in:
parent
1227e7145d
commit
71700cdd1c
1 changed files with 2 additions and 2 deletions
|
|
@ -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"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue