make "list" a synonym for "ls"
parent
ff3e7d4025
commit
656549dd44
2
nvm.sh
2
nvm.sh
|
@ -200,7 +200,7 @@ nvm()
|
||||||
export NVM_BIN="$NVM_DIR/$VERSION/bin"
|
export NVM_BIN="$NVM_DIR/$VERSION/bin"
|
||||||
echo "Now using node $VERSION"
|
echo "Now using node $VERSION"
|
||||||
;;
|
;;
|
||||||
"ls" )
|
"ls" | "list" )
|
||||||
if [ $# -ne 1 ]; then
|
if [ $# -ne 1 ]; then
|
||||||
nvm_version $2
|
nvm_version $2
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue