mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-10 14:21:50 +00:00
Merge pull request #356 from geekjuice/master
Change variable name to fix zsh parse issue
This commit is contained in:
commit
0d5ee024d1
4
nvm.sh
4
nvm.sh
@ -364,9 +364,9 @@ nvm() {
|
|||||||
echo "Uninstalled node $VERSION"
|
echo "Uninstalled node $VERSION"
|
||||||
|
|
||||||
# Rm any aliases that point to uninstalled version.
|
# Rm any aliases that point to uninstalled version.
|
||||||
for A in `\grep -l $VERSION $NVM_DIR/alias/* 2>/dev/null`
|
for ALIAS in `\grep -l $VERSION $NVM_DIR/alias/* 2>/dev/null`
|
||||||
do
|
do
|
||||||
nvm unalias `basename $A`
|
nvm unalias `basename $ALIAS`
|
||||||
done
|
done
|
||||||
|
|
||||||
;;
|
;;
|
||||||
|
Loading…
Reference in New Issue
Block a user