dotfiles/.bash_logout
Severin Kaderli 1cf7b01030 Add .bash_logout and .vimrc
Signed-off-by: Severin Kaderli <severin.kaderli@gmail.com>
2016-10-30 14:41:08 +01:00

7 lines
220 B
Bash

# ~/.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