mirror of
https://github.com/tj/n.git
synced 2024-11-21 18:48:57 +01:00
GH-706 Update location change message (#707)
* GH-706 Update location change message * Remove (seemingly) unnecessary shellcheck exception * Add missing trailing newline
This commit is contained in:
parent
a19c6c2c82
commit
eff4dd42c1
3
bin/n
3
bin/n
@ -740,8 +740,7 @@ activate() {
|
||||
printf '\nNote: the node command changed location and the old location may be remembered in your current shell.\n'
|
||||
log old "${original_node}"
|
||||
log new "${active_node}"
|
||||
# shellcheck disable=SC2016
|
||||
printf 'To reset the command location hash either start a new shell, or execute PATH="$PATH"\n'
|
||||
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'
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user