diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2007-12-16 21:49:53 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2007-12-16 21:49:53 +0000 |
commit | 0963ce3a64a2921cd4eead8708ca4d6c4d20d33c (patch) | |
tree | 8523377daeff8f8ecfa9136fd8deb99a1e15f1c7 | |
parent | d14b6ba4b877b309375167133def47db3f07932a (diff) | |
download | zsh-0963ce3a64a2921cd4eead8708ca4d6c4d20d33c.tar.gz zsh-0963ce3a64a2921cd4eead8708ca4d6c4d20d33c.tar.xz zsh-0963ce3a64a2921cd4eead8708ca4d6c4d20d33c.zip |
24268: handle backslashed = in mailbox completion
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | Completion/Unix/Type/_mailboxes | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 05755a1bd..6ed03ec4f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2007-12-16 Peter Stephenson <p.w.stephenson@ntlworld.com> + * 24268: Completion/Unix/Type/_mailboxes: handle backslashed =. + * 24264: Doc/Zsh/builtins.yo, Doc/Zsh/expn.yo, Src/params.c, Src/subst.c, Src/zsh.h, Test/B02typeset.ztst: restrict the effect of 24234 to expansion in the parameter substitution code diff --git a/Completion/Unix/Type/_mailboxes b/Completion/Unix/Type/_mailboxes index bf5c6c2a2..188e1a29f 100644 --- a/Completion/Unix/Type/_mailboxes +++ b/Completion/Unix/Type/_mailboxes @@ -150,7 +150,7 @@ _mua_mailboxes() { fi ;; (*:mutt:*) - if compset -P '='; then + if compset -P '(|\\)='; then mbox_names=( "${_mutt_cache[@]#[+=]}" "${(@)_mbox_cache#$~maildirectory/}" "${(@)_maildir_cache#$~maildirectory/}" "${(@)_mh_cache#$~maildirectory/}") elif compset -P +; then mbox_names=( "${_mutt_cache[@]#[+=]}" "${(@)_mbox_cache#$~maildirectory/}" "${(@)_maildir_cache#$~maildirectory/}" "${(@)_mh_cache#$~maildirectory/}") |