mirror of
https://github.com/zsh-users/zsh
synced 2024-10-07 16:39:09 +00:00
12024: handle multiple mailboxes lines in muttrc
This commit is contained in:
parent
ec7fc02071
commit
e164618de2
|
@ -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
|
||||
|
|
|
@ -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}/**/*(.) )
|
||||
|
|
Loading…
Reference in a new issue