Added command to get current nvm environment.
parent
d3f04c793e
commit
dd157129a6
3
nvm.sh
3
nvm.sh
|
@ -436,6 +436,9 @@ nvm() {
|
||||||
print_versions "`nvm_ls_remote $2`"
|
print_versions "`nvm_ls_remote $2`"
|
||||||
return
|
return
|
||||||
;;
|
;;
|
||||||
|
"current" )
|
||||||
|
echo -ne "current: \t"; nvm_version current
|
||||||
|
;;
|
||||||
"alias" )
|
"alias" )
|
||||||
mkdir -p $NVM_DIR/alias
|
mkdir -p $NVM_DIR/alias
|
||||||
if [ $# -le 2 ]; then
|
if [ $# -le 2 ]; then
|
||||||
|
|
Loading…
Reference in New Issue