aboutsummaryrefslogtreecommitdiff
path: root/bash_logout.dot.link
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-12-27 15:32:30 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-12-27 15:32:30 -0200
commit0dda694086411cc1da1b472e42516d31208e240e (patch)
tree5daf5409eec865c54c35a535690fde1b20456a8d /bash_logout.dot.link
downloadprofile-0dda694086411cc1da1b472e42516d31208e240e.tar.gz
profile-0dda694086411cc1da1b472e42516d31208e240e.tar.bz2
Initial import
Diffstat (limited to 'bash_logout.dot.link')
-rw-r--r--bash_logout.dot.link7
1 files changed, 7 insertions, 0 deletions
diff --git a/bash_logout.dot.link b/bash_logout.dot.link
new file mode 100644
index 0000000..de4f5f7
--- /dev/null
+++ b/bash_logout.dot.link
@@ -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