1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2026-04-18 14:24:06 +00:00

node: Speedup 'nodenv' initialization by skipping rehashing.

See: https://github.com/nodenv/nodenv#how-nodenv-hooks-into-your-shell
This commit is contained in:
Indrajit Raychaudhuri
2026-03-22 02:05:49 -05:00
parent 2e3fbc8fac
commit 7fcc9d2dad

View File

@@ -19,7 +19,7 @@ if (( $#local_nodenv_paths || $+commands[nodenv] )); then
# Ensure manually installed nodenv is added to path when present.
[[ -s $local_nodenv_paths[1] ]] && path=($local_nodenv_paths[1]:h $path)
eval "$(nodenv init - zsh)"
eval "$(nodenv init - --no-rehash zsh)"
# Load manually installed nvm into the shell session.
elif (( $#local_nvm_paths )); then