Skip to content

Commit eff4dd4

Browse files
authored
tjGH-706 Update location change message (tj#707)
* tjGH-706 Update location change message * Remove (seemingly) unnecessary shellcheck exception * Add missing trailing newline
1 parent a19c6c2 commit eff4dd4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

bin/n

+1-2
Original file line numberDiff line numberDiff line change
@@ -740,8 +740,7 @@ activate() {
740740
printf '\nNote: the node command changed location and the old location may be remembered in your current shell.\n'
741741
log old "${original_node}"
742742
log new "${active_node}"
743-
# shellcheck disable=SC2016
744-
printf 'To reset the command location hash either start a new shell, or execute PATH="$PATH"\n'
743+
printf 'If "node --version" shows the old version then start a new shell, or reset the location hash with:\nhash -r (for bash, zsh, ash, dash, and ksh)\nrehash (for csh and tcsh)\n'
745744
fi
746745
fi
747746
}

0 commit comments

Comments
 (0)