From: Clint Adams <schizo@debian.org>
To: Bart Schaefer <schaefer@candle.brasslantern.com>
Cc: Andy Spiegl <zsh.Andy@spiegl.de>, zsh-workers@sunsite.auc.dk
Subject: PATCH: multiple mailbox lines in muttrc
Date: Wed, 21 Jun 2000 22:27:49 -0400 [thread overview]
Message-ID: <20000621222749.A14101@scowler.net> (raw)
In-Reply-To: <1000621152106.ZM31139@candle.brasslantern.com>; from schaefer@candle.brasslantern.com on Wed, Jun 21, 2000 at 03:21:06PM +0000
> The _mutt_cache is initialized by grepping your .muttrc (or the file that
> you name in the $muttrc variable, which you should set somewhere in your
> .zshrc file if it's not ~/.muttrc) for the string "mailboxes" and then
> throwing away the first word of the result. So it could be coming from
For one thing, this should have been a grep "^mailboxes", lest
it try to interpret comments or other cruft. For another thing,
who needs grep? :)
Index: Completion/User/_mailboxes
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/User/_mailboxes,v
retrieving revision 1.2
diff -u -r1.2 _mailboxes
--- Completion/User/_mailboxes 2000/05/31 09:38:26 1.2
+++ Completion/User/_mailboxes 2000/06/22 02:22:57
@@ -65,7 +65,8 @@
[[ -f ${~muttrc:-.} ]] &&
- _mutt_cache=( ${$(grep mailboxes ${~muttrc})[2,-1]} )
+ _mutt_cache=( ${${(M)${(f)"$(<${~muttrc})"}:#mailboxes *}#mailboxes *} )
+
_mbox_cache=( ${~maildirectory}/*(^/) )
_pine_cache=( ${~pinedirectory}/**/*(.) )
next prev parent reply other threads:[~2000-06-22 2:28 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20000619211650.A5701@br-online.de>
2000-06-19 20:18 ` bug in _mutt ? Bart Schaefer
2000-06-20 11:28 ` Andy Spiegl
2000-06-20 11:53 ` Peter Stephenson
2000-06-20 13:33 ` Bart Schaefer
2000-06-21 15:24 ` Bart Schaefer
2000-06-22 1:56 ` Clint Adams
2000-06-22 3:55 ` Geoff Wing
2000-06-22 3:59 ` Clint Adams
2000-06-20 14:02 ` Clint Adams
2000-06-20 15:18 ` Andy Spiegl
2000-06-21 7:55 ` Andy Spiegl
2000-06-21 15:21 ` Bart Schaefer
2000-06-21 15:30 ` Bart Schaefer
2000-06-22 1:50 ` Clint Adams
2000-06-22 2:27 ` Clint Adams [this message]
2000-06-22 4:07 ` PATCH: multiple mailbox lines in muttrc and more Clint Adams
2000-06-26 19:43 ` bug in _mutt ? Andy Spiegl
2000-06-27 0:51 ` Bart Schaefer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20000621222749.A14101@scowler.net \
--to=schizo@debian.org \
--cc=schaefer@candle.brasslantern.com \
--cc=zsh-workers@sunsite.auc.dk \
--cc=zsh.Andy@spiegl.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).