zsh: improve conditions in .zlogin

master
Guillaume Dott 2019-04-08 19:36:19 +02:00
parent 279049648c
commit 2c00fbe1c7
1 changed files with 2 additions and 2 deletions

View File

@ -1,5 +1,5 @@
emulate sh -c 'source /etc/profile' emulate sh -c 'source /etc/profile'
if [ `tty` = /dev/tty1 ]; then if [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
startx exec startx
fi fi