diff options
Diffstat (limited to '.bash_logout')
-rw-r--r-- | .bash_logout | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/.bash_logout b/.bash_logout index 44b6f79..de4f5f7 100644 --- a/.bash_logout +++ b/.bash_logout @@ -1,6 +1,7 @@ -# /etc/skel/.bash_logout +# ~/.bash_logout: executed by bash(1) when login shell exits. -# This file is sourced when a login shell terminates. +# when leaving the console clear the screen to increase privacy -# Clear the screen for security's sake. -clear +if [ "$SHLVL" = 1 ]; then + [ -x /usr/bin/clear_console ] && /usr/bin/clear_console -q +fi |