Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 638 Bytes

README.md

File metadata and controls

24 lines (17 loc) · 638 Bytes

fnm.fish

Improved hooks for fnm for Fish shell, only calling fnm when changes are detected.

Installation

Install with Fisher:

fisher install martonperei/fnm.fish

Use fnm env as usual in fish.config:

fnm env --shell fish | source

Differences from fnm env --use-on-cd

  • 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 use on first prompt instead of shell initialization.