dotfiles/shell/.bash_logout
Diogo Cordeiro c6cc2d3f9d first commit
2021-02-18 17:53:07 +00:00

8 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