4052a367be8a7bc0739aa64f33b824f98ab3db2c

Author
Pavle Portic <pavle.portic@tilda.center>
Committer
Pavle Portic <pavle.portic@tilda.center>
Date

Message

Auto startx and enable pyenv in zshrc

Diff

 1diff --git a/dot_zshrc b/dot_zshrc
 2index 4867d651ec46f7522647f552291ec93073bb3798..dfb04893000549445dcfe1e6e4ab1243735faa4f 100644
 3--- a/dot_zshrc
 4+++ b/dot_zshrc
 5@@ -83,3 +83,8 @@ export FZF_DEFAULT_OPTS='
 6 '
 7 
 8 source ~/.local/bin/start-ssh-agent
 9+
10+# startx on tty1
11+if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then exec startx -- vt1; fi
12+
13+eval "$(pyenv init -)"