1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2025-12-17 03:17:05 +00:00
Files
prezto/modules/node/init.zsh
Indrajit Raychaudhuri d45d87b08f node: Make nvm lookup mechanism more efficient in homebrewed environment
In homebrewed environment, avoid using `brew --prefix nvm` which is
ruby based and is super slow. Instead, rely on homebrew standard
behavior wherein all installed packages are available in canonical
path $(brew --prefix)/opt/<package> (for nvm it would obviously be
`$(brew --prefix)/opt/nvm`).

NB: `$(brew --prefix)` (without additional argument) is a simple shell
shortcut and doesn't have the same performance impact.
2018-12-12 22:32:51 -06:00

1.6 KiB