Friday, 3 January 2020

NVM => slow shell

Following the installation guide on GitHub and adding to the following lines to .zshrc on macOS Catalinaexport NVM_DIR="$([ -z "${XDG_CONFIG_HOME-}" ] && printf %s "${HOME}/.nvm" || printf %s "${XDG_CONFIG_HOME}/nvm")" [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm results in the shell or prompt gets slow or laggy. It takes about a 1sec for it be available. If I removes those lines the lag disappears. Is there a fix for this?

Submitted January 03, 2020 at 05:51PM by MrMelankoli

No comments:

Post a Comment