Don't double-print *default* alias resolutions either.
parent
1e2a7a8de4
commit
c92effc6da
4
nvm.sh
4
nvm.sh
|
@ -1868,10 +1868,14 @@ $NVM_LS_REMOTE_POST_MERGED_OUTPUT" | command grep -v "N/A" | command sed '/^$/d'
|
||||||
DEST="$(nvm_print_implicit_alias local "$ALIAS")"
|
DEST="$(nvm_print_implicit_alias local "$ALIAS")"
|
||||||
if [ "_$DEST" != "_" ]; then
|
if [ "_$DEST" != "_" ]; then
|
||||||
VERSION="$(nvm_version "$DEST")"
|
VERSION="$(nvm_version "$DEST")"
|
||||||
|
if [ "_$DEST" = "_$VERSION" ]; then
|
||||||
|
echo "$ALIAS -> $DEST (default)"
|
||||||
|
else
|
||||||
echo "$ALIAS -> $DEST (-> $VERSION) (default)"
|
echo "$ALIAS -> $DEST (-> $VERSION) (default)"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
fi
|
||||||
done
|
done
|
||||||
return
|
return
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue