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"