diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Completion/Base/Completer/_expand | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 82003b7e6..c75df5718 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2005-01-21 Oliver Kiddle <opk@zsh.org> + + * 20730 (modified): Completion/Base/Completer/_expand: fix + suffix style to regard quoted special characters as not special + 2005-01-19 Peter Stephenson <pws@csr.com> * 20728 (with typo fixed): configure.ac, Doc/Zsh/builtins.yo, diff --git a/Completion/Base/Completer/_expand b/Completion/Base/Completer/_expand index 52d47b2d7..4bb9ab777 100644 --- a/Completion/Base/Completer/_expand +++ b/Completion/Base/Completer/_expand @@ -35,7 +35,7 @@ fi zstyle -T ":completion:${curcontext}:" suffix && [[ "$word" = (\~*/*|*\$(|[=~#^+])[a-zA-Z0-9_\[\]]##[^a-zA-Z0-9_\[\]]|*\$\{*\}?) && - "${(e)word}" != *[][^*?\(\)\<\>\{\}\|]* ]] && + "${(e)word}" != (#s)(*[^\\]|)[][^*?\(\)\<\>\{\}\|]* ]] && return 1 zstyle -s ":completion:${curcontext}:" accept-exact tmp || |