make "list" a synonym for "ls"

master
Scott Bronson 2011-10-05 12:43:50 -07:00
parent ff3e7d4025
commit 656549dd44
1 changed files with 1 additions and 1 deletions

2
nvm.sh
View File

@ -200,7 +200,7 @@ nvm()
export NVM_BIN="$NVM_DIR/$VERSION/bin"
echo "Now using node $VERSION"
;;
"ls" )
"ls" | "list" )
if [ $# -ne 1 ]; then
nvm_version $2
return