summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--Completion/Unix/Type/_mailboxes2
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/}")