We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6597e11 commit b445da0Copy full SHA for b445da0
nvm.sh
@@ -54,7 +54,7 @@ nvm_command_info() {
54
local INFO
55
COMMAND="${1}"
56
if type "${COMMAND}" | nvm_grep -q hashed; then
57
- INFO="$(type "${COMMAND}" | command sed -E 's/\(|)//g' | command awk '{print $4}')"
+ INFO="$(type "${COMMAND}" | command sed -E 's/\(|\)//g' | command awk '{print $4}')"
58
elif type "${COMMAND}" | nvm_grep -q aliased; then
59
INFO="$(which "${COMMAND}") ($(type "${COMMAND}" | command awk '{ $1=$2=$3=$4="" ;print }' | command sed -e 's/^\ *//g' -Ee "s/\`|'//g" ))"
60
elif type "${COMMAND}" | nvm_grep -q "^${COMMAND} is an alias for"; then
0 commit comments