view .bash_logout @ 47:e487c33c89ae

Fixed exponential history file growth bug.
author samer
date Wed, 25 Mar 2015 12:40:42 +0000
parents 3255717f4e6b
children
line wrap: on
line source
# ~/.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