From 25ba4afc5cd2b0556815c9f70e8e0ba3cf14707b Mon Sep 17 00:00:00 2001 From: zymon Date: Sat, 17 Aug 2024 14:38:50 +0200 Subject: [PATCH] zlogin bugfix --- config/zsh/.zlogin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/zsh/.zlogin b/config/zsh/.zlogin index 5541075..b48b299 100644 --- a/config/zsh/.zlogin +++ b/config/zsh/.zlogin @@ -1,3 +1,3 @@ #!/bin/zsh -[ "$(TTY)" = "/dev/tty1" ] && ! pidof -s Xorg >/dev/null 2>&1 && exec startx "$XINITRC" +[ "${TTY}" = "/dev/tty1" ] && ! pidof -s Xorg >/dev/null 2>&1 && exec startx "$XINITRC"