mirror of
https://github.com/nvm-sh/nvm.git
synced 2025-05-10 22:31:51 +00:00
Alias rm -> uninstall
This commit is contained in:
parent
01189e144c
commit
707feab91c
2
nvm.sh
2
nvm.sh
@ -302,7 +302,7 @@ nvm()
|
|||||||
echo "nvm: install $VERSION failed!"
|
echo "nvm: install $VERSION failed!"
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
"uninstall" )
|
"uninstall" | "rm" )
|
||||||
[ $# -ne 2 ] && nvm help && return
|
[ $# -ne 2 ] && nvm help && return
|
||||||
if [[ $2 == `nvm_version` ]]; then
|
if [[ $2 == `nvm_version` ]]; then
|
||||||
echo "nvm: Cannot uninstall currently-active node version, $2."
|
echo "nvm: Cannot uninstall currently-active node version, $2."
|
||||||
|
Loading…
Reference in New Issue
Block a user