diff options
author | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-10-20 21:42:38 +0200 |
---|---|---|
committer | Raymaekers Luca <raymaekers.luca@gmail.com> | 2023-10-20 21:42:38 +0200 |
commit | c997f2a94462e694c2fdcf9c01fba17c889cf03d (patch) | |
tree | e69d01cdb67f67d4464d832405c6d71e4afa238b | |
parent | 4965e48270f0e95e5ff9e7147c03972cb99159f4 (diff) |
don't clear in normal shell and don't print PLUGPATH on reload
-rw-r--r-- | config/essentials/zsh/.zshrc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/config/essentials/zsh/.zshrc b/config/essentials/zsh/.zshrc index 7a2f945..0efee9b 100644 --- a/config/essentials/zsh/.zshrc +++ b/config/essentials/zsh/.zshrc @@ -2,7 +2,7 @@ if [ "$(id -u)" -ne 0 ] then - clear + [ "${TTY%%tty*}" = '/dev/' ] && clear case "${TTY#/dev/tty}" in 1) exec startdwl > /dev/null 2>&1 ;; 2) exec startx > /dev/null 2>&1 ;; @@ -27,7 +27,6 @@ compinit . $ZDOTDIR/functions.zsh . $ZDOTDIR/aliases.sh -local PLUGPATH for file in /etc/os-release /usr/lib/os-release do [ -f "$file" ] && . "$file" && break done |