diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | Completion/User/_mailboxes | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index 5121959f1..c54d757b3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2000-06-22 Clint Adams <schizo@debian.org> + + * 12024: Completion/User/_mailboxes: handle multiple mailboxes + lines in muttrc. + 2000-06-21 Chmouel Boudjnah <chmouel@mandrakesoft.com> * 12019: Completion/User/_ssh: upgrade to the last openssh diff --git a/Completion/User/_mailboxes b/Completion/User/_mailboxes index e2b4b5289..fb00719a3 100644 --- a/Completion/User/_mailboxes +++ b/Completion/User/_mailboxes @@ -65,7 +65,8 @@ _mailbox_cache () { [[ -f ${~muttrc:-.} ]] && - _mutt_cache=( ${$(grep mailboxes ${~muttrc})[2,-1]} ) + _mutt_cache=( ${${(M)${(f)"$(<${~muttrc})"}:#mailboxes *}#mailboxes *} ) + _mbox_cache=( ${~maildirectory}/*(^/) ) _pine_cache=( ${~pinedirectory}/**/*(.) ) |