From 656549dd443ae1bd67c8f60b3133c12666ea41b4 Mon Sep 17 00:00:00 2001 From: Scott Bronson Date: Wed, 5 Oct 2011 12:43:50 -0700 Subject: [PATCH] make "list" a synonym for "ls" --- nvm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nvm.sh b/nvm.sh index 3da58a2..0f05396 100755 --- a/nvm.sh +++ b/nvm.sh @@ -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