zsh: improve conditions in .zlogin
This commit is contained in:
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…
x
Reference in New Issue
Block a user