From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8380 invoked by alias); 29 Aug 2011 15:17:44 -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: 16290 Received: (qmail 4693 invoked from network); 29 Aug 2011 15:17:42 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) 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 autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at closedmail.com does not designate permitted sender hosts) From: Bart Schaefer Message-id: <110829081715.ZM7058@torch.brasslantern.com> Date: Mon, 29 Aug 2011 08:17:15 -0700 In-reply-to: <87pqjug2og.fsf@ft.bewatermyfriend.org> Comments: In reply to Frank Terbeck "Re: INTERACTIVE_COMMENTS - why?" (Aug 24, 7:05pm) References: <87y5yjf251.fsf@ft.bewatermyfriend.org> <87ty97eyny.fsf@ft.bewatermyfriend.org> <110824080039.ZM25273@torch.brasslantern.com> <87pqjug2og.fsf@ft.bewatermyfriend.org> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-users@zsh.org Subject: Re: INTERACTIVE_COMMENTS - why? MIME-version: 1.0 Content-type: text/plain; charset=us-ascii On Aug 24, 7:05pm, Frank Terbeck wrote: } Subject: Re: INTERACTIVE_COMMENTS - why? } } Bart Schaefer wrote: } > I have a little "eglob" function that I use as a prefix } } Hm. I wonder how you're doing that. I've ended up with the following: } } alias eglob='noalias eglob' } function eglob() { } emulate -L zsh } setopt extended_glob } ${~"${argv[@]}"}; } } } } Are you doing something similar or is there a neat trick to do that } differently? Essentially the same, except I know my zsh options won't mess it up so I don't bother with "emulate", and I avoid re-globbing the name of the command: eglob () { setopt localoptions extendedglob local c=$1 shift $c $~* }