zsh-users
 help / color / mirror / code / Atom feed
* MUA and multiple mailboxes
@ 2012-11-05 11:11 Silas Silva
  0 siblings, 0 replies; only message in thread
From: Silas Silva @ 2012-11-05 11:11 UTC (permalink / raw)
  To: zsh-users

Hello all,

I currently work with multiple Maildir mailboxes. One for personal
e-mail, another for work e-mail and so on. Suppose they are stored in
/mail/Home and /mail/Work.

zsh completion is smart. If I have MAIL=/mail/Home, all e-mail
commands look for that. My MUA (mutt), for instance, does right
completion of mailboxes:

mutt -f=<tab here will show mailboxes>

Now I want to make a function or alias called muttw that completes to
mailboxes in /mail/Work. An alias muttw="MAIL=/mail/Work mutt" or
similar doesn't work. Making a file _muttw with the following content:

MAIL="/mail/Work" _mutt

doesn't work eitheir.

zsh-users archives doesn't having anything similar.

Any tips?

Thank you.

-- 
Silas Silva


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-11-05 11:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-11-05 11:11 MUA and multiple mailboxes Silas Silva

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).