about summary refs log tree commit diff
path: root/Completion/User
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/User')
-rw-r--r--Completion/User/_mailboxes6
1 files changed, 3 insertions, 3 deletions
diff --git a/Completion/User/_mailboxes b/Completion/User/_mailboxes
index 356b377ec..b20abcf4e 100644
--- a/Completion/User/_mailboxes
+++ b/Completion/User/_mailboxes
@@ -62,15 +62,15 @@ _mailboxes() {
 _mailbox_cache () {
   # Depends on $maildirectory and $pinedirectory from _mailboxes!
 
-  local i j muttrc="${muttrc:-~/.muttrc}"
+  local i j _mc_tmp muttrc="${muttrc:-~/.muttrc}"
   local -aU dirboxes
   typeset -aU -g _mailbox_cache
   typeset -aU -g _maildir_cache _mbox_cache _mh_cache _mutt_cache _pine_cache
 
 
   [[ -f ${~muttrc:-.} ]] &&
-    _mutt_cache=( ${=${(M)${(f)"$(<${~muttrc})"}:#mailboxes *}#mailboxes *} )
-
+    _mc_tmp=${=${(M)${(f)"$(<${~muttrc})"}:#mailboxes *}#mailboxes *} &&
+    _mutt_cache=( ${=${(Xe)_mc_tmp}} )
 
   _mbox_cache=( ${~maildirectory}/*(^/) )
   _pine_cache=( ${~pinedirectory}/**/*(.) )