summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog6
-rw-r--r--Completion/Unix/Type/_path_files2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 35bde7e51..356d904f7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2001-06-18 Sven Wischnowsky <wischnow@zsh.org>
+
+ * 14962: Completion/Unix/Type/_path_files: make special-dirs
+ work together with file-sort (ignore added qualifiers in a
+ test)
+
2001-06-18 Peter Stephenson <pws@csr.com>
* 14959: Src/signals.c: more renames for 14951.
diff --git a/Completion/Unix/Type/_path_files b/Completion/Unix/Type/_path_files
index af8757c22..c7eaf2df2 100644
--- a/Completion/Unix/Type/_path_files
+++ b/Completion/Unix/Type/_path_files
@@ -140,7 +140,7 @@ zstyle -s ":completion:${curcontext}:paths" special-dirs sdirs
zstyle -t ":completion:${curcontext}:paths" list-suffixes &&
listsfx=yes
-[[ "$pats" = ((|*[[:blank:]])\*(|[[:blank:]]*)|*\([^[:blank:]]#/[^[:blank:]]#\)*) ]] &&
+[[ "$pats" = ((|*[[:blank:]])\*(|[[:blank:]]*|\([^[:blank:]]##\))|*\([^[:blank:]]#/[^[:blank:]]#\)*) ]] &&
sopt=$sopt/
zstyle -a ":completion:${curcontext}:paths" accept-exact accex