summaryrefslogtreecommitdiff
path: root/.config/bash/logout.sh
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-10-16 19:09:42 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-10-16 19:09:42 -0400
commit1ff883371700757696efafefe266572776ac9558 (patch)
treed2104f7f405f4fe7a8957e86f53300ee6d4b1aeb /.config/bash/logout.sh
parent3d607ee3f5dc7fd27bbce6c447e02778310a4b9d (diff)
parent3515a46d330af1d09bf1e0b963c13a86c2dbe8a8 (diff)
Merge branch 'master' into build64-par
Conflicts: .login-daemons
Diffstat (limited to '.config/bash/logout.sh')
-rw-r--r--.config/bash/logout.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/.config/bash/logout.sh b/.config/bash/logout.sh
new file mode 100644
index 0000000..a8b88c1
--- /dev/null
+++ b/.config/bash/logout.sh
@@ -0,0 +1,9 @@
+# ~/.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
+
+make -C "$HOME"