Faster zshrc
This commit is contained in:
+5
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user