Skip to content

Commit

Permalink
make "list" a synonym for "ls"
Browse files Browse the repository at this point in the history
  • Loading branch information
bronson committed Oct 5, 2011
1 parent ff3e7d4 commit 656549d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nvm.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 656549d

Please sign in to comment.