aboutsummaryrefslogtreecommitdiff
path: root/dot_zlogout
diff options
context:
space:
mode:
Diffstat (limited to 'dot_zlogout')
-rw-r--r--dot_zlogout5
1 files changed, 5 insertions, 0 deletions
diff --git a/dot_zlogout b/dot_zlogout
new file mode 100644
index 0000000..d3e5006
--- /dev/null
+++ b/dot_zlogout
@@ -0,0 +1,5 @@
+# when leaving the console clear the screen to increase privacy
+
+if [ "$SHLVL" = 1 ]; then
+ [ -x /usr/bin/clear ] && /usr/bin/clear
+fi