dotfiles/.config/shell/logout.sh

11 lines
265 B
Bash
Raw Normal View History

2022-08-08 23:59:31 +02:00
# This file is sourced by a login shell upon logout
# Clear the screen to increase privacy
if [ "$SHLVL" = 1 ]; then
2024-06-06 19:02:07 +02:00
if [ -x /usr/bin/clear ]; then
/usr/bin/clear
elif [ -x /usr/bin/clear_console ]; then
/usr/bin/clear_console -q
fi
2022-08-08 23:59:31 +02:00
fi