Improved hooks for fnm for Fish shell, only calling fnm when changes are detected.
Install with Fisher:
fisher install martonperei/fnm.fishUse fnm env as usual in fish.config:
fnm env --shell fish | source- Keeps track of the currently loaded node version file, and only calls fnm when necessary. Even though fnm is very fast, the shell is still faster to check for files.
- Respects
--resolve-engines - Calls
fnm useon first prompt instead of shell initialization.