Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Alias and zstyle contexts
- X-seq: zsh-users 19508
- From: Frank Terbeck <ft@xxxxxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: Re: Alias and zstyle contexts
- Date: Tue, 09 Dec 2014 00:25:53 +0100
- In-reply-to: <20141208230255.GA6029@rikku> (Silas Silva's message of "Mon, 8 Dec 2014 21:02:56 -0200")
- 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
- References: <20141208230255.GA6029@rikku>
Silas Silva wrote:
[...]
> 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?
% compdef muttw=mutt
should do the trick.
Regards, Frank
Messages sorted by:
Reverse Date,
Date,
Thread,
Author