Don't double-print *default* alias resolutions either.
parent
1e2a7a8de4
commit
c92effc6da
6
nvm.sh
6
nvm.sh
|
@ -1868,7 +1868,11 @@ $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")"
|
||||||
echo "$ALIAS -> $DEST (-> $VERSION) (default)"
|
if [ "_$DEST" = "_$VERSION" ]; then
|
||||||
|
echo "$ALIAS -> $DEST (default)"
|
||||||
|
else
|
||||||
|
echo "$ALIAS -> $DEST (-> $VERSION) (default)"
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue