Skip to content

martonperei/fnm.fish

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

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.

About

Improved hooks for fnm for Fish shell

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages