diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-11-21 14:01:10 +0100 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2024-11-21 14:01:10 +0100 |
commit | 3b659f14503defce477efa12c3af2c8796b1d8eb (patch) | |
tree | 097313005e8019f5a9e7f44a7d030b0b3a6a8a3a /config/essentials/zsh | |
parent | 80b656bfccc464427fce209b58a67319e8931c06 (diff) |
checkpoint
Diffstat (limited to 'config/essentials/zsh')
-rwxr-xr-x | config/essentials/zsh/.zprofile | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/config/essentials/zsh/.zprofile b/config/essentials/zsh/.zprofile index 9ae68bc..f67e3f7 100755 --- a/config/essentials/zsh/.zprofile +++ b/config/essentials/zsh/.zprofile @@ -1,8 +1,6 @@ #!/bin/sh -[ "${TTY%%tty*}" = '/dev/' ] && clear - -if [ "$FROMLY" ] && [ "$(id -u)" -ne 0 ]; then +if [ "$TTY" = "/dev/tty1" ] && [ "$(id -u)" -ne 0 ]; then exec startx > /dev/null 2>&1 exit fi |