Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Lazy load nvm #1185

Closed
wants to merge 0 commits into from
Closed

Lazy load nvm #1185

wants to merge 0 commits into from

Conversation

rtfpessoa
Copy link

@rtfpessoa rtfpessoa commented Aug 26, 2016

nvm takes on average half of a second to load, which is more than whole prezto takes to load.

This can be noticed when you open a new shell.

To avoid this, we are creating placeholder function for nvm, node, and all the node packages previously installed in the system to only load nvm when it is needed.

This code is based on the scripts:

@rtfpessoa
Copy link
Author

rtfpessoa commented Aug 26, 2016

Moved to a separated branch so I can merge other stuff to my master.

Now in #1186

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant