zsh-users
 help / color / mirror / code / Atom feed
From: Silas Silva <silasdb@gmail.com>
To: zsh-users@zsh.org
Subject: MUA and multiple mailboxes
Date: Mon, 5 Nov 2012 09:11:11 -0200	[thread overview]
Message-ID: <CAJ9p79N0SzhUC0a9Zw8u_c8Hw0P5kYKC4dkS2PBG+=QmGs==7g@mail.gmail.com> (raw)

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


                 reply	other threads:[~2012-11-05 11:19 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAJ9p79N0SzhUC0a9Zw8u_c8Hw0P5kYKC4dkS2PBG+=QmGs==7g@mail.gmail.com' \
    --to=silasdb@gmail.com \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).