aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreug-vs <eug-vs@keemail.me>2021-04-15 10:02:31 +0300
committereug-vs <eug-vs@keemail.me>2021-04-15 10:02:31 +0300
commit0ea863546543f6653e2b804fc8ba529439db8f57 (patch)
tree89bcb5041d054760f4625a010431731ffb4032ef
parent19f2470b267484a8470d73b4b74f7fea0f8d7d7e (diff)
downloaddotfiles-0ea863546543f6653e2b804fc8ba529439db8f57.tar.gz
chore(zsh): speedup nvm startup time
-rw-r--r--.zshrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/.zshrc b/.zshrc
index 04ce196..d5be5c4 100644
--- a/.zshrc
+++ b/.zshrc
@@ -28,7 +28,7 @@ alias config='git --git-dir=$HOME/.dotfiles.git --work-tree=$HOME'
export LESS=R # Option to less so that git log/diff hide output after exit
export EDITOR=nvim
export NVM_DIR="$HOME/.nvm"
-[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
+[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" --no-use # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
export PATH=$PATH:~/.local/bin