about summary refs log tree commit diff
path: root/meta/.bash_logout
diff options
context:
space:
mode:
authorRaphael McSinyx <vn.mcsinyx@gmail.com>2017-02-19 09:46:16 +0700
committerRaphael McSinyx <vn.mcsinyx@gmail.com>2017-02-19 09:46:16 +0700
commit18ff4bcb029e49ef9ee1e41c8bafb8ca880c2d42 (patch)
treeb5629a4f59eac7545ef328b56a9e4ee6d38e3018 /meta/.bash_logout
parenta295db54fbe539abda4542195fa3b5781d13806d (diff)
downloaddotfiles-18ff4bcb029e49ef9ee1e41c8bafb8ca880c2d42.tar.gz
Update 20170219
Diffstat (limited to 'meta/.bash_logout')
-rw-r--r--meta/.bash_logout7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/.bash_logout b/meta/.bash_logout
new file mode 100644
index 0000000..de4f5f7
--- /dev/null
+++ b/meta/.bash_logout
@@ -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