aboutsummaryrefslogtreecommitdiff
path: root/dot_zlogout
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@rak.ac>2021-12-13 16:55:42 -0500
committerRyan Kavanagh <rak@rak.ac>2021-12-13 16:58:10 -0500
commite5dfb045b994e1ab8fef9ef5d3f02ce20ea6b685 (patch)
treeba74287d80e46c70dab8c4311a1dc933fbfbdea1 /dot_zlogout
parentfix pager again (diff)
many more renames
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