zsh: improve conditions in .zlogin
parent
279049648c
commit
2c00fbe1c7
|
@ -1,5 +1,5 @@
|
|||
emulate sh -c 'source /etc/profile'
|
||||
|
||||
if [ `tty` = /dev/tty1 ]; then
|
||||
startx
|
||||
if [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
|
||||
exec startx
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue