summaryrefslogtreecommitdiff
path: root/base/bash_logout
blob: 09df5b1bf6262e3f17407559b20adcd4b03f8553 (plain)
1
2
3
4
5
6
# ~/.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