<<< Date Index >>>     <<< Thread Index >>>

Re: subscribe and zsh array



Gabriel, et al --

...and then Gabriel Striewe said...
% 
% Hello!

Hi!


% 
% I am using mutt and zsh and had been wondering whether I could
% substitute my "subscribe" line, which I use to handle mailing lists and
...
% # .zshenv
% mailinglists=(mailinglist1 mailinglist2 ...)
% ...

Is that available to child processes (perhaps after exporting) as an
environment variable?


% 
% How would I use this array in connection with "subscribe"?

You can use environment variables in your muttrc file, so it should be as
easy as

  subscribe $mailinglists

if it is one.


% 
% Thanks for any hints.
% 
% Gabriel


HTH & HAND

:-D
-- 
David T-G
davidtg@xxxxxxxxxxxxxxx
http://justpickone.org/davidtg/      Shpx gur Pbzzhavpngvbaf Qrprapl Npg!

Attachment: pgp18zUlJrp6y.pgp
Description: PGP signature