Track the bash logout script

This commit is contained in:
Ohad Livne 2025-06-04 22:45:04 +03:00
parent db5c52fa61
commit 0532ef102f
Signed by: libohad-dev
GPG key ID: 34FDC68B51191A4D

7
.bash_logout Normal file
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