summary refs log tree commit diff
path: root/Completion/Unix
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2007-12-16 21:49:53 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2007-12-16 21:49:53 +0000
commit0963ce3a64a2921cd4eead8708ca4d6c4d20d33c (patch)
tree8523377daeff8f8ecfa9136fd8deb99a1e15f1c7 /Completion/Unix
parentd14b6ba4b877b309375167133def47db3f07932a (diff)
downloadzsh-0963ce3a64a2921cd4eead8708ca4d6c4d20d33c.tar.gz
zsh-0963ce3a64a2921cd4eead8708ca4d6c4d20d33c.tar.xz
zsh-0963ce3a64a2921cd4eead8708ca4d6c4d20d33c.zip
24268: handle backslashed = in mailbox completion
Diffstat (limited to 'Completion/Unix')
-rw-r--r--Completion/Unix/Type/_mailboxes2
1 files changed, 1 insertions, 1 deletions
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/}")