diff options
author | Clint Adams <clint@users.sourceforge.net> | 2000-11-09 13:27:52 +0000 |
---|---|---|
committer | Clint Adams <clint@users.sourceforge.net> | 2000-11-09 13:27:52 +0000 |
commit | 89d480f57d59a794d8c2e04fc5270bed13b7a28a (patch) | |
tree | 449e8b9916aad6c5628d1175b24f69967ad5a89d /Completion/User | |
parent | 559974ad877e5cbf04fe8907444ce001a48f5c01 (diff) | |
download | zsh-89d480f57d59a794d8c2e04fc5270bed13b7a28a.tar.gz zsh-89d480f57d59a794d8c2e04fc5270bed13b7a28a.tar.xz zsh-89d480f57d59a794d8c2e04fc5270bed13b7a28a.zip |
13125: evalute muttrc's mailboxes directive in case of backticks.
Diffstat (limited to 'Completion/User')
-rw-r--r-- | Completion/User/_mailboxes | 6 |
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}/**/*(.) ) |