From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 19015 invoked from network); 24 Jul 2004 18:48:31 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 24 Jul 2004 18:48:31 -0000 Received: (qmail 48367 invoked from network); 24 Jul 2004 18:48:25 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 24 Jul 2004 18:48:25 -0000 Received: (qmail 3110 invoked by alias); 24 Jul 2004 18:46:11 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 7763 Received: (qmail 3100 invoked from network); 24 Jul 2004 18:46:10 -0000 Received: from unknown (HELO a.mx.sunsite.dk) (130.225.247.88) by 130.225.247.90 with SMTP; 24 Jul 2004 18:46:10 -0000 Received: (qmail 43616 invoked from network); 24 Jul 2004 18:44:12 -0000 Received: from unknown (HELO moonbase.zanshin.com) (167.160.213.139) by a.mx.sunsite.dk with SMTP; 24 Jul 2004 18:44:10 -0000 Received: from toltec.zanshin.com (toltec.zanshin.com [64.84.47.166]) by moonbase.zanshin.com (8.12.11/8.12.11) with ESMTP id i6OIi92Q018062 for ; Sat, 24 Jul 2004 11:44:09 -0700 Date: Sat, 24 Jul 2004 11:44:09 -0700 (PDT) From: Bart Schaefer Reply-To: zsh-users@sunsite.dk To: zsh-users@sunsite.dk Subject: Re: zsh tips plea (tip of the day) In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Spam-Checker-Version: SpamAssassin 2.63 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, hits=-4.9 required=6.0 tests=BAYES_00 autolearn=no version=2.63 X-Spam-Hits: -4.9 On Sat, 24 Jul 2004, zzapper wrote: > Hi, > > Anyway my super tip is > > > vim =some_script > > where the = will find the file if it's anyway in your paths (where is > this in the doc?) Let's see ... fire up "info zsh", type "i", search the index for "equal" and the first hit is: EQUALS Perform = filename expansion. (See *Note Filename Expansion::.) Follow the link to Filename Expansion. About half way down the page: If a word begins with an unquoted `=' and the EQUALS option is set, the remainder of the word is taken as the name of a command. If a command exists by that name, the word is replaced by the full pathname of the command.