Faster zshrc

This commit is contained in:
2019-02-11 17:40:33 +01:00
parent 23e40963ba
commit 740857f59b
8 changed files with 88 additions and 176 deletions
+5 -1
View File
@@ -2,6 +2,7 @@
export PATH=/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:$PATH
# The scripts path
export PATH=$DOTFILES/zsh/bin:$PATH
if [ -d "$HOME/.scripts" ]; then
export PATH=$HOME/.scripts:$PATH
fi
@@ -14,7 +15,10 @@ fi
# Nvm path
if [ -d $HOME/.nvm ]; then
export NVM_DIR="$HOME/.nvm"
source $NVM_DIR/nvm.sh
# Sourcing this is really slow
# source $NVM_DIR/nvm.sh
# So well just export the path
export PATH=$HOME/.nvm/versions/v11.4.0/bin:$PATH
fi
# LD_LIBRARY_PATH: I don't know why there is this line here but I'm too scared