Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Alias and zstyle contexts



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