Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: can't run _email-mutt
- X-seq: zsh-users 8941
- From: Marc Chantreux <marc.chantreux@xxxxxxxxxxxxxxxxxx>
- To: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- Subject: Re: can't run _email-mutt
- Date: Thu, 2 Jun 2005 14:37:18 +0200
- Cc: zsh-users@xxxxxxxxxx
- In-reply-to: <13199.1117464233@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20050527141638.GA9644@xxxxxxxxxxxxxxxxxxxxxxx> <7779.1117444705@xxxxxxxxxxxxxxxxxxxxxxx> <20050530135757.GA12204@xxxxxxxxxxxxxxxxxxxxxxx> <13199.1117464233@xxxxxxxxxxxxxxxxxxxxxxx>
le 30/05/2005,
Oliver Kiddle nous écrivait :
> Ah, the problem is probably related to the section of _email-addresses
> starting with the comment "# get list of all plugins except any with
> missing config files". For the builtin plugins, it excludes those for
> which it doesn't find a config file. It's perhaps a new change to mutt
> that .muttrc can also be .mutt/muttrc. Can it have other names?
i wasn't skilled enought in zsh to understand those lines. thanks for
explains.
you're right : i've added .mutt/muttrc to the list and it works fine
now.
i've just seen in the mutt man that a system-wide configuration file
exists too : /etc/Muttrc
so, there are 3 configuration files :
~/.muttrc
~/.mutt/muttrc
/etc/Muttrc
> We could probably do with a more sophisticated plugin for mutt aliases,
> however. I assume you've got some form of include directives to pull in
> aliases from all those other files. Any idea how we could get a full
> list of mutt aliases?
well, the simplest way is to use an extern program that does it well :
lbdbq | sed -n '/alias/{s/\(^[^ ]\+\).*alias\(.*\)/\2:\1/;p}'
or something like that.
a pure zsh solution is trying to parse all files that are sourced (
using the source command ) by .muttrc.
regards
mc
Messages sorted by:
Reverse Date,
Date,
Thread,
Author