about summary refs log tree commit diff
path: root/bash/.bash_logout
blob: de4f5f75d7ccd3a5b62bd2ce683ed678a5cb72c2 (plain) (blame)
1
2
3
4
5
6
7
# ~/.bash_logout: executed by bash(1) when login shell exits.

# when leaving the console clear the screen to increase privacy

if [ "$SHLVL" = 1 ]; then
    [ -x /usr/bin/clear_console ] && /usr/bin/clear_console -q
fi