diff --git a/.config/shell/logout.sh b/.config/shell/logout.sh index 1a8b212..7e58a45 100644 --- a/.config/shell/logout.sh +++ b/.config/shell/logout.sh @@ -2,5 +2,9 @@ # Clear the screen to increase privacy if [ "$SHLVL" = 1 ]; then - [ -x /usr/bin/clear ] && /usr/bin/clear || [ -x /usr/bin/clear_console ] && /usr/bin/clear_console -q + if [ -x /usr/bin/clear ]; then + /usr/bin/clear + elif [ -x /usr/bin/clear_console ]; then + /usr/bin/clear_console -q + fi fi