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

Re: Alias and zstyle contexts



On Tue, Dec 09, 2014 at 12:24:34AM +0100, Mikael Magnusson 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.
(...)
> 
> Just making a function and saying compdef muttw=mutt should be enough.

Hi!

It works fine, thank you!  But, unfortunately zsh's _mutt file checks
if $curcontext is mutt or some other alternatives.  Since I now have
muttw context, it doesn't work well.  Is it possible to trick _mutt
without having to change its code?

Thank you very much.

-- 
Silas Silva



Messages sorted by: Reverse Date, Date, Thread, Author