add bash_logout

This commit is contained in:
2023-05-09 15:25:50 -04:00
parent 6384ed0489
commit 9efa03d36b
+7
View File
@@ -0,0 +1,7 @@
# ~/.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