From 1fa0463850a258ca5e0178baebb135143eec9dd0 Mon Sep 17 00:00:00 2001 From: nmeum Date: Sun, 20 Jan 2013 15:19:19 +0100 Subject: [PATCH] You only need one '=' character to check if something is equal --- z.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/z.sh b/z.sh index e5056fa..4bad37a 100755 --- a/z.sh +++ b/z.sh @@ -38,7 +38,7 @@ _z() { # don't track excluded dirs local exclude for exclude in "${_Z_EXCLUDE_DIRS[@]}"; do - [ "$*" == "$exclude" ] && return + [ "$*" = "$exclude" ] && return done # maintain the file