Skip to content

undg/zsh-nvm-lazy-load

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This is a plugin that will lazy load nvm.

Running nvm.sh in your .zshrc can significantly slow down startup time. This plugin is designed to mitigate that issue.

The commands nvm, node, npm, npx, pnpm, yarn, pnpx, bun, and bunx will load nvm.sh upon their first invocation, thereby avoiding any startup time penalty for shells that aren't going to use them at all.

There is only a single time penalty for the shell. After the first time you run any of the commands above, nvm will already be initialized, so there will be no additional delay.

About

Lazy loader for nvm (zsh plugin)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages