From: Oleg Broytman Date: Fri, 5 Aug 2016 21:52:11 +0000 (+0300) Subject: .bash_logout: clear even if there is no clear_console X-Git-Url: https://git.phdru.name/?a=commitdiff_plain;h=d19bdede73ae652d2e513b73fb1068367d4ef1c4;p=dotfiles.git .bash_logout: clear even if there is no clear_console --- diff --git a/.bash_logout b/.bash_logout index 4c880fd..ccd81db 100644 --- a/.bash_logout +++ b/.bash_logout @@ -8,5 +8,5 @@ # when leaving the console clear the screen to increase privacy if [ "$SHLVL" = 1 ]; then - [ -x /usr/bin/clear_console ] && /usr/bin/clear_console -q + [ -x /usr/bin/clear_console ] && /usr/bin/clear_console -q || clear fi