From a3aca5cf6bc7e5c3d9623e48f4c57ea4745d62dd Mon Sep 17 00:00:00 2001 From: Raymaekers Luca Date: Tue, 17 Oct 2023 23:15:47 +0200 Subject: added dwl configuration --- config/essentials/zsh/.zshrc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'config/essentials') diff --git a/config/essentials/zsh/.zshrc b/config/essentials/zsh/.zshrc index 993ae8a..e46cf8e 100644 --- a/config/essentials/zsh/.zshrc +++ b/config/essentials/zsh/.zshrc @@ -3,10 +3,10 @@ if [ "$(id -u)" -ne 0 ] then clear - case "${TTY#/dev/}" in - tty1) exec startw ;; - tty2) exec startx ;; - tty3) exec startdwl ;; + case "${TTY#/dev/tty}" in + 1) exec startw > /dev/null 2>&1 ;; + 2) exec startx > /dev/null 2>&1 ;; + 3) exec startdwl > /dev/null 2>&1 ;; *) false ;; esac && exit fi -- cgit v1.2.3