summaryrefslogtreecommitdiff
path: root/.config/bash/logout.sh
diff options
context:
space:
mode:
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"