Source nvm.init if it exists

This commit is contained in:
Pavle Portic 2021-12-03 09:59:33 +01:00
parent 75ceb462e2
commit 7f276cc62a
Signed by: TheEdgeOfRage
GPG Key ID: F2AB38285780DE3D
1 changed files with 3 additions and 0 deletions

View File

@ -89,5 +89,8 @@ export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init --path)"
eval "$(pyenv init -)"
# Nvm settings
[[ -f /usr/share/nvm/init-nvm.sh ]] && source /usr/share/nvm/init-nvm.sh
# startx on tty1
if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then exec startx -- vt1; fi