summaryrefslogtreecommitdiff
path: root/.bash_logout
diff options
context:
space:
mode:
Diffstat (limited to '.bash_logout')
-rw-r--r--.bash_logout5
1 files changed, 5 insertions, 0 deletions
diff --git a/.bash_logout b/.bash_logout
new file mode 100644
index 00000000..e58b0f86
--- /dev/null
+++ b/.bash_logout
@@ -0,0 +1,5 @@
+# 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