Update z.sh (#293)

Double-quote in wrong position meant that Excluding directories feature didn't work.
This commit is contained in:
chewblacka authored and GitHub committed 2021-05-26 13:57:42 -04:00
1 parent 55b76d8b28
commit 77622bbc25
1 file changed
+1 -1
+1 -1
View File
@@ -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