Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
MUA and multiple mailboxes
- X-seq: zsh-users 17376
- From: Silas Silva <silasdb@xxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: MUA and multiple mailboxes
- Date: Mon, 5 Nov 2012 09:11:11 -0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=9XdDbuInHujeyNV8KpsEVTqPBPt3OeY0ZtiqT0xtPxs=; b=ZefTMzMQiVSHkMmMC3/mOU9fVBXQFRJ2qzoZhakjyRwSICHyeSpujxro2SN3ybJQq0 YWFvCE6QMfZrLc59ButOWUdcbIEzj0Iei7IrLe5ZkBOW0e5c+zocVW14EXaralLMqxcK seemLN8SPLDM9k/es24cAlhSJj38swUjTPcbaoK2cWrgH7Ulx4xuKMAup+7RcFrW0tkU fhd5DrLUPhgtaHAz3pRzbPX/6UqpAaJqnKSgi921kGg/YXE3PZowpEipm+aQfEG9QFSX 3ChrvfeLQiBU6Lu8weUERzC0NGW9MQ+DDDH+DyFB4EJIRQluXOd89cl+289Iz9QkOlSR BvAw==
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author