From 9a88e3656cccffc060c1c6fbb3ac2443c37c55a8 Mon Sep 17 00:00:00 2001 From: Nicholas Hwang Date: Tue, 11 Feb 2014 22:50:58 -0500 Subject: [PATCH] Change variable name to fix zsh parse issue --- nvm.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nvm.sh b/nvm.sh index 3381b40..3532e3d 100755 --- a/nvm.sh +++ b/nvm.sh @@ -364,9 +364,9 @@ nvm() { echo "Uninstalled node $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 - nvm unalias `basename $A` + nvm unalias `basename $ALIAS` done ;;