Zsh Mailing List Archive
Messages sorted by:
Re: completion but extra options allowed
- X-seq: zsh-users 2914
- From: Andy Spiegl <zsh.Andy@xxxxxxxxx>
- To: zsh-users@xxxxxxxxxxxxxx
- Subject: Re: completion but extra options allowed
- Date: Mon, 14 Feb 2000 15:00:10 +0100
- In-reply-to: <1000211175555.ZM32309@xxxxxxxxxxxxxxxxxxxxxxx>; from schaefer@xxxxxxxxxxxxxxxxxxxxxxx on Fri, Feb 11, 2000 at 05:55:55PM +0000
- Mail-followup-to: zsh-users@xxxxxxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
- References: <20000210153411.A27005@xxxxxxxxxxxx> <1000210175857.ZM6927@xxxxxxxxxxxxxxxxxxxxxxx> <20000210195143.A26109@xxxxxxxxxxxx> <1000211175555.ZM32309@xxxxxxxxxxxxxxxxxxxxxxx>
> In attempting to do something with this, I found some rather strange
> things going on in the guts of the completion.
> _mailboxes then calls "compadd -J -default- -J -default- - ..." which
> seems a bit odd. The first -J -default- is from "$@" and the second is
> of course "$expl[@]". Is that really doing the right thing?
Uh, oh, don't ask me. I hardly know anything about the zsh completion
system (yet). Anyone else want to comment Barts discoveries?
> } And it doesn't expand local filenames either:
> } eule:~>cd Mail
> } eule:~/Mail>mutt -f a<TAB>
> I think that's intentional on the grounds that files not in the mail
> directory are not likely to be mail files. It should probably be set
> by a style, if the 'mailbox' style won't already work.
I wasn't able to find anything about the mailbox-style in the docs. :-(
What can I set with it?
> You don't need to edit _mailboxes, you just need
> set muttrc=~/.mutt/local
Oh, okay...together with your patch (which is basically what I did too :-)
But of course that doesn't work for the aliases, which are in ~/.mutt/aliases.
Hm, while just looking at _mutt I see that mailaddresses are taken from
'recipient:->userhost', which I don't understand. Where is that info
being set? Or in other words: how can I influence the list of addressees?
E-Mail: Andy@xxxxxxxxx URL: http://andy.spiegl.de
PGP/GPG: see headers
o _ _ _
--------- __o __o /\_ _ \\o (_)\__/o (_)
------- _`\<,_ _`\<,_ _>(_) (_)/<_ \_| \ _|/' \/
------ (_)/ (_) (_)/ (_) (_) (_) (_) (_)' _\o_
In a world without fences - who needs Gates?
Messages sorted by: