aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2017-03-21 10:04:24 +0100
committerDavid Runge <dave@sleepmap.de>2017-03-21 10:04:24 +0100
commit02dadfc2d1c9b50418bba79a6f1bbc55ef4ef389 (patch)
treedc31b22c18d7118351c232a1599c5d657859f031
parent82a96cd19ac9e90c540d00a86f3f2db9e8560421 (diff)
downloaddotfiles-02dadfc2d1c9b50418bba79a6f1bbc55ef4ef389.tar.gz
dotfiles-02dadfc2d1c9b50418bba79a6f1bbc55ef4ef389.tar.bz2
dotfiles-02dadfc2d1c9b50418bba79a6f1bbc55ef4ef389.tar.xz
dotfiles-02dadfc2d1c9b50418bba79a6f1bbc55ef4ef389.zip
.zlogout: Fixing broken statement, by doing binary comparison.
-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