From 77622bbc25723ef26cee59b30802177da26cc6e9 Mon Sep 17 00:00:00 2001 From: chewblacka Date: Wed, 26 May 2021 18:57:42 +0100 Subject: [PATCH] Update z.sh (#293) Double-quote in wrong position meant that Excluding directories feature didn't work. --- z.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/z.sh b/z.sh index 13008a6..c3cbbbc 100644 --- a/z.sh +++ b/z.sh @@ -60,7 +60,7 @@ _z() { # don't track excluded directory trees local exclude for exclude in "${_Z_EXCLUDE_DIRS[@]}"; do - case "$*" in "$exclude*") return;; esac + case "$*" in "$exclude"*) return;; esac done # maintain the data file