diff --git a/nvm.sh b/nvm.sh index e4ce9f8..27db03e 100755 --- a/nvm.sh +++ b/nvm.sh @@ -436,6 +436,9 @@ nvm() { print_versions "`nvm_ls_remote $2`" return ;; + "current" ) + echo -ne "current: \t"; nvm_version current + ;; "alias" ) mkdir -p $NVM_DIR/alias if [ $# -le 2 ]; then