From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11962 invoked by alias); 8 Dec 2014 23:38:57 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 19508 Received: (qmail 12764 invoked from network); 8 Dec 2014 23:38:44 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, SPF_HELO_PASS autolearn=ham version=3.3.2 From: Frank Terbeck To: zsh-users@zsh.org Subject: Re: Alias and zstyle contexts In-Reply-To: <20141208230255.GA6029@rikku> (Silas Silva's message of "Mon, 8 Dec 2014 21:02:56 -0200") References: <20141208230255.GA6029@rikku> User-Agent: Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.4.51 (gnu/linux) Date: Tue, 09 Dec 2014 00:25:53 +0100 Message-ID: <87vbllvi4e.fsf@ft.bewatermyfriend.org> MIME-Version: 1.0 Content-Type: text/plain X-Df-Sender: NDMwNDQ0 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