aboutsummaryrefslogtreecommitdiffstats
path: root/_zlogout
diff options
context:
space:
mode:
Diffstat (limited to '_zlogout')
-rw-r--r--_zlogout4
1 files changed, 3 insertions, 1 deletions
diff --git a/_zlogout b/_zlogout
index d6f7e3a..1db6ba0 100644
--- a/_zlogout
+++ b/_zlogout
@@ -4,7 +4,9 @@
#
# clear console
-if which tput >/dev/null 2>&1; then
+if which clear >/dev/null 2>&1; then
+ clear
+elif which tput >/dev/null 2>&1; then
tput clear
fi