mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-10 22:31:51 +00:00
make "list" a synonym for "ls"
This commit is contained in:
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
Block a user