Use zsh-nvm to reduce shell startup time by 2x (0.2s > 0.09s)

This commit is contained in:
pfych 2025-07-21 08:45:38 +10:00 committed by Violet Heague
parent 00f1f9a17d
commit 818089e853
5 changed files with 10 additions and 5 deletions

View file

@ -15,11 +15,6 @@ setopt HIST_REDUCE_BLANKS
# Use NVIM
alias vim=nvim
# NVM
export NVM_DIR="$CONFIGDIR/nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
# Nodejs
export SKIP_PREFLIGHT_CHECK=true