config/zsh/zlogin: fix malfunction on servers

This commit is contained in:
xeruf 2023-01-10 00:50:46 +01:00
parent 6723119ef3
commit 6716a763b7
1 changed files with 1 additions and 1 deletions

View File

@ -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