From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14319 invoked by alias); 9 Dec 2014 16:11:30 -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: 19512 Received: (qmail 5002 invoked from network); 9 Dec 2014 16:11:27 -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,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RCVD_IN_SORBS_WEB autolearn=ham version=3.3.2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:subject:message-id:mail-followup-to:references :mime-version:content-type:content-disposition:in-reply-to :user-agent; bh=cC5wCUvpjTjtD2WfjUL0wyf4smBBiR8rplfiCv4U6gw=; b=d5W8XOHlJOS+ynJNH4l5kPf2LLOFZ8w5bUCJvdGfCm11riDRvVKXAbUtOJDTWHFlNI CXL8ZnX0SpcbcuziwpDQOBM4mxdzAiJ7jAqN1CqiXQ5cy6I5dlwtL0AF/sbHmSTNZcce C7hRHFdlVTgCjFJouU47Y0/BKR+PQY1yBd6XUp1kP5AXemEjNYuhVZN72uDku0Ii4R26 8SnzFVNlxNUxTgADM4ZLIpQhQ84FueH6u1sKLGQ3SOTDfPy2N+25RiaOU9TZq80SUttk 5q0xwJl0Q+3xZ6zciqiw6QI/YJeyLgzeVpDL/y4+hOq4+QqekL+ZU+27it26X2nomqAY IzyA== X-Received: by 10.224.166.67 with SMTP id l3mr6845672qay.15.1418141484014; Tue, 09 Dec 2014 08:11:24 -0800 (PST) Date: Tue, 9 Dec 2014 14:11:19 -0200 From: Silas Silva To: Mikael Magnusson Cc: Zsh Users Subject: Re: Alias and zstyle contexts Message-ID: <20141209161119.GA2492@rikku> Mail-Followup-To: Mikael Magnusson , Zsh Users References: <20141208230255.GA6029@rikku> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) 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