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