config/zsh/zlogin: fix malfunction on servers
This commit is contained in:
parent
6723119ef3
commit
6716a763b7
|
@ -1,3 +1,3 @@
|
|||
if test -z "$DISPLAY" && test "$XDG_VTNR" -eq 1
|
||||
if test -z "$DISPLAY" && test "$XDG_VTNR" -eq 1 && which startx >/dev/null
|
||||
then exec startx
|
||||
fi
|
||||
|
|
Loading…
Reference in New Issue