From 02dadfc2d1c9b50418bba79a6f1bbc55ef4ef389 Mon Sep 17 00:00:00 2001 From: David Runge Date: Tue, 21 Mar 2017 10:04:24 +0100 Subject: .zlogout: Fixing broken statement, by doing binary comparison. --- .zlogout | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to '.zlogout') 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 -- cgit v1.2.3-70-g09d2