zsh-users
 help / color / mirror / code / Atom feed
From: Silas Silva <silasdb@gmail.com>
To: zsh-users@zsh.org
Subject: Alias and zstyle contexts
Date: Mon, 8 Dec 2014 21:02:56 -0200	[thread overview]
Message-ID: <20141208230255.GA6029@rikku> (raw)

Hi there!

Fortunatelly, aliases use the same context of original commands, which
which make things much easier.  But a little problem just came up:

mutt's -f option looks for mailboxes using the mail-directory style.  I
have a "muttw" alias that I'd like to load mailboxes from another
directory, but the context is the same.

I could solve this having a function called muttw, copying original
_mutt completion to _muttw and changing just one line, but this looks
ugly.  Is there an simpler way?

Thank you very much!

-- 
Silas Silva


             reply	other threads:[~2014-12-08 23:03 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-12-08 23:02 Silas Silva [this message]
2014-12-08 23:24 ` Mikael Magnusson
2014-12-09 16:11   ` Silas Silva
2014-12-10  1:41     ` Mikael Magnusson
2014-12-11 17:22       ` Silas Silva
2014-12-08 23:25 ` Frank Terbeck

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=20141208230255.GA6029@rikku \
    --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).