This commit is contained in:
GitHub Merge Button 2012-02-19 03:20:02 -08:00
commit 5eabb65396

3
nvm.sh
View File

@ -38,7 +38,8 @@ nvm_ls()
PATTERN=$1
VERSIONS=''
if [ "$PATTERN" = 'current' ]; then
VERSION=`node -v 2>/dev/null`
echo `node -v 2>/dev/null`
return
fi
if [ -f "$NVM_DIR/alias/$PATTERN" ]; then