From 0963ce3a64a2921cd4eead8708ca4d6c4d20d33c Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Sun, 16 Dec 2007 21:49:53 +0000 Subject: 24268: handle backslashed = in mailbox completion --- ChangeLog | 2 ++ Completion/Unix/Type/_mailboxes | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 05755a1bd..6ed03ec4f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2007-12-16 Peter Stephenson + * 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/}") -- cgit 1.4.1