From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13944 invoked from network); 25 Aug 1999 15:00:24 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 25 Aug 1999 15:00:24 -0000 Received: (qmail 2029 invoked by alias); 25 Aug 1999 15:00:04 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 2512 Received: (qmail 2019 invoked from network); 25 Aug 1999 15:00:03 -0000 X-Authentication-Warning: paullew-ultra.cisco.com: paullew set sender to paullew@cisco.com using -f From: Paul Lew Message-ID: <14276.1229.978789.685381@paullew-ultra.cisco.com> Date: Wed, 25 Aug 1999 07:59:25 -0700 (PDT) To: Sven Guckes Cc: zsh-users@sunsite.auc.dk Subject: Re: listing all executables matching 'foo' In-Reply-To: <19990825165338.D2803@ritz.math.fu-berlin.de> References: <19990823152219.I32224@hp.com> <19990823233551.B31064@drizzt.ihug.com.au> <19990823160716.M32224@hp.com> <19990823110321.A1724@cj952583-b.alex1.va.home.com> <19990825154631.C2803@ritz.math.fu-berlin.de> <19990825162223.A18978@youkaidi.irisa.fr> <19990825165338.D2803@ritz.math.fu-berlin.de> X-Mailer: VM 6.74 under Emacs 20.4.1 Mime-Version: 1.0 (generated by tm-edit 7.106) Content-Type: text/plain; charset=US-ASCII >>>>> "Sven" == Sven Guckes writes: Sven> * Hubert Canon (Hubert.Canon@irisa.fr) [990825 14:22]: >> Gives strange things with aliases and functions : Sven> True. So, how to take care of these? Sven> "if type(foo)==alias"? Just add -p to which command, which -ap instead which -a. I often use: ls -l $(which -ap zsh)