summaryrefslogtreecommitdiff
path: root/.bash_logout
diff options
context:
space:
mode:
authorSean Whitton <spw+git@sdf.org>2014-05-01 13:05:54 +0000
committerSean Whitton <spw+git@sdf.org>2014-05-01 13:05:54 +0000
commitf1433b38fa5be8019bdc855f44655fb95f8f633b (patch)
treee20915003ee111af62ec04b35f143b9f2e26ef45 /.bash_logout
parent9c9df5de5cd2bc7402db4a19a296bcdb6639401a (diff)
downloaddotfiles-f1433b38fa5be8019bdc855f44655fb95f8f633b.tar.gz
Many cleaned up config files
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