Change variable name to fix zsh parse issue
parent
c19535a3f5
commit
9a88e3656c
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