From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8858 invoked from network); 1 Jun 2007 10:07:37 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.0 (2007-05-01) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=no version=3.2.0 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 1 Jun 2007 10:07:37 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 84648 invoked from network); 1 Jun 2007 10:07:29 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 1 Jun 2007 10:07:29 -0000 Received: (qmail 5568 invoked by alias); 1 Jun 2007 10:07:26 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 23504 Received: (qmail 5559 invoked from network); 1 Jun 2007 10:07:26 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 1 Jun 2007 10:07:26 -0000 Received: (qmail 84286 invoked from network); 1 Jun 2007 10:07:25 -0000 Received: from luonnotar.infodrom.org (217.114.79.202) by a.mx.sunsite.dk with SMTP; 1 Jun 2007 10:07:21 -0000 Received: by luonnotar.infodrom.org (Postfix, from userid 10) id D6521648520; Fri, 1 Jun 2007 12:07:20 +0200 (CEST) Received: by finlandia.home.infodrom.org (Postfix, from userid 2006) id 3E7AE10019; Fri, 1 Jun 2007 11:57:47 +0200 (CEST) Date: Fri, 1 Jun 2007 11:57:47 +0200 From: Maddi Kopfermann To: Zsh-Workers Subject: alias -s doesn't friendly deal with programs having an extension Message-ID: <20070601095747.GA23444@finlandia.home.infodrom.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline X-Operating-System: Debian GNU/Linux User-Agent: Mutt/1.5.13 (2006-08-11) Hi, ZSH workers, after alias pl=perl e.g. a program with an extension like e.g. program.pl can no longer be invoked without its full path. Could the alias -s functionality be improved so that it first looks for programs in the $PATH with extensions and only after it does not find the invoked program THEN use the mechanism? Matthias PS: I guess the old priority of first replacing aliases with what they stand for goes against this