zsh: improve conditions in .zlogin
parent
279049648c
commit
2c00fbe1c7
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue