From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28473 invoked from network); 7 Nov 1997 15:39:09 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 7 Nov 1997 15:39:09 -0000 Received: (from list@localhost) by math.gatech.edu (8.8.5/8.8.5) id KAA19194; Fri, 7 Nov 1997 10:35:20 -0500 (EST) Resent-Date: Fri, 7 Nov 1997 10:34:58 -0500 (EST) Message-Id: <199711071535.KAA17615@luomat.peak.org> Content-Type: text/plain MIME-Version: 1.0 (NeXT Mail 4.2mach v148) X-Image-URL: http://www.peak.org/~luomat/next/luomat@peak.org.tiff In-Reply-To: <199711071533.QAA05401@hydra.ifh.de> X-Nextstep-Mailer: Mail 4.2mach (Enhance 2.0b6.3) From: Timothy J Luoma Date: Fri, 7 Nov 97 10:35:02 -0500 To: Peter Stephenson Subject: Re: confusion over the proper way to make an alias cc: zsh-users@math.gatech.edu (Zsh users list) References: <199711071533.QAA05401@hydra.ifh.de> X-Image-URL-Disclaimer: hey, it's off my student ID, gimme a break ;-) Resent-Message-ID: <"fUJJ81.0.Og4.XKpOq"@math> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/1134 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu Author: Peter Stephenson Original-Date: Fri, 07 Nov 1997 16:33:34 +0100 Message-ID: <199711071533.QAA05401@hydra.ifh.de> > That means you have function, as well as an alias, defined to ls(). It's > possible to have both, but only the function can fill your job table and > needs the `command ls' inside it. (Also, remember the catch: if you define > an alias for ls, and the function next with 'ls() {...}', the alias > gets expanded in the definition, causing havoc.) Nailed it. Thanks Peter. TjL, insanely stupid today