skel/.bash_logout

10 lines
285 B
Bash
Raw Permalink Normal View History

2019-08-01 20:16:38 +00:00
# ~/.bash_logout: executed by bash(1) when login shell exits.
2021-07-28 07:26:32 +00:00
# clear home directory tmp folder
#[ -d ~/tmp ] && rm -r ~/tmp/*
2019-08-01 20:16:38 +00:00
2021-07-28 07:26:32 +00:00
# when leaving the console clear the screen to increase privacy
2019-08-01 20:16:38 +00:00
if [ "$SHLVL" = 1 ]; then
[ -x /usr/bin/clear_console ] && /usr/bin/clear_console -q
fi