dotfiles/.bash_logout
Andrei Jiroh Halili 01c95345a3
chore(global): regular configuration hellscape for now
Signed-off-by: Andrei Jiroh Halili <ajhalili2006@andreijiroh.eu.org>
2023-05-12 18:55:54 +02: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