Use zsh-nvm to reduce shell startup time by 2x (0.2s > 0.09s)
This commit is contained in:
parent
00f1f9a17d
commit
818089e853
5 changed files with 10 additions and 5 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue