aboutsummaryrefslogtreecommitdiffstats
path: root/.zlogout
diff options
context:
space:
mode:
Diffstat (limited to '.zlogout')
-rw-r--r--.zlogout3
1 files changed, 3 insertions, 0 deletions
diff --git a/.zlogout b/.zlogout
index 92e4350..5b5bf1c 100644
--- a/.zlogout
+++ b/.zlogout
@@ -1,3 +1,6 @@
#
# Commands executed by zsh on logout.
#
+if [ $(id -u) == 0 ]; then
+ clear
+fi