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