summaryrefslogtreecommitdiff
path: root/config/essentials/zsh/.zshrc
diff options
context:
space:
mode:
authorRaymaekers Luca <raymaekers.luca@gmail.com>2023-10-17 23:15:47 +0200
committerRaymaekers Luca <raymaekers.luca@gmail.com>2023-10-17 23:15:47 +0200
commita3aca5cf6bc7e5c3d9623e48f4c57ea4745d62dd (patch)
treee6dab2a527f23818edcbea59487d4a5350c07209 /config/essentials/zsh/.zshrc
parent08fe7f54c0daf00f49993eb74f56e1ce4d0be781 (diff)
added dwl configuration
Diffstat (limited to 'config/essentials/zsh/.zshrc')
-rw-r--r--config/essentials/zsh/.zshrc8
1 files changed, 4 insertions, 4 deletions
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