7f276cc62ae6976b13b9dde786e2455088f1c3af

Author
Pavle Portic <git@theedgeofrage.com>
Committer
Pavle Portic <git@theedgeofrage.com>
Date

Message

Source nvm.init if it exists

Diff

 1diff --git a/dot_zshrc b/dot_zshrc
 2index febc8a72835b8119898ba17d37d04f74b0bd34ec..31bd40f666e47b71d146e9fb28a6f4cb95e89fe0 100644
 3--- a/dot_zshrc
 4+++ b/dot_zshrc
 5@@ -89,5 +89,8 @@ export PATH="$PYENV_ROOT/bin:$PATH"
 6 eval "$(pyenv init --path)"
 7 eval "$(pyenv init -)"
 8 
 9+# Nvm settings
10+[[ -f /usr/share/nvm/init-nvm.sh ]] && source /usr/share/nvm/init-nvm.sh
11+
12 # startx on tty1
13 if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then exec startx -- vt1; fi