From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12957 invoked by alias); 8 Dec 2014 23:03:11 -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: 19506 Received: (qmail 24096 invoked from network); 8 Dec 2014 23:03:08 -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=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW 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:subject:message-id:mail-followup-to:mime-version :content-type:content-disposition:user-agent; bh=rzJjoMZc2CpFWB50dfRhYguqoiFd3yb7fryozZ8or9A=; b=BUXWLRktOwG+X5cPuGOtt80xbBUZFFXwjfYgJrK090cc5QSritVvMQ+ZTpAwKoP6Cj DB6U3D5LSHLzx86ZM4znEMG7QKsBoqb06EXgCvu/m7NFTgxvQZYkahrYUTX4IInSt9pT siRrn5G85AjfHJ4jrXrYmIEGFbCbQcLXlTj0dxgKNRwDt6Nxp8j3trIJ4iGjCt6SFp4P 8RNyOQq6oU9T7ZwXdB6/Rb/nZuDahGla0Nd+Mux5DIzCq7F/L/W3UMrWX+K5+Jgm1TYH RvulhpBNVzNMWPssBakkx+OzOJSha4tpOvytXvASZTfqwagvjh19K4jxoMsfpVfnWQYO 0MPQ== X-Received: by 10.229.174.70 with SMTP id s6mr56932372qcz.7.1418079780523; Mon, 08 Dec 2014 15:03:00 -0800 (PST) Date: Mon, 8 Dec 2014 21:02:56 -0200 From: Silas Silva To: zsh-users@zsh.org Subject: Alias and zstyle contexts Message-ID: <20141208230255.GA6029@rikku> Mail-Followup-To: zsh-users@zsh.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Hi there! Fortunatelly, aliases use the same context of original commands, which which make things much easier. But a little problem just came up: 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? Thank you very much! -- Silas Silva