a1a9dbc108acb495b4cc682adbbcf3c20e7aa50a
- Author
- Pavle Portic <git@theedgeofrage.com>
- Committer
- Pavle Portic <git@theedgeofrage.com>
- Date
Message
Add nvm setup to zshrc
Diff
1diff --git a/dot_zshrc.tmpl b/dot_zshrc.tmpl
2index 1ca1f5cdaa5618d41f521718aa4f1dda03886f62..5a6f6e3f5663370619906a083acaf99b4fcc7c80 100644
3--- a/dot_zshrc.tmpl
4+++ b/dot_zshrc.tmpl
5@@ -98,5 +98,9 @@ if which pyenv &> /dev/null; then
6 eval "$(pyenv init -)"
7 fi
8
9+# nvm setup
10+export NVM_DIR="$HOME/.local/share/nvm"
11+source /usr/share/nvm/init-nvm.sh
12+
13 # startx on tty1
14 if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then exec startx -- vt1; fi