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

subscribe and zsh array



Hello!

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
which looks as follows

# .muttrc
subscribe mailinglist1 mailinglist2 ...
...

by some shorter expression using z-shell's arrays.

In my .zshenv, I have the following array defining $mailinglists

# .zshenv
mailinglists=(mailinglist1 mailinglist2 ...)
...

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

Thanks for any hints.

Gabriel