Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: confusion over the proper way to make an alias



	Author:        Peter Stephenson <pws@xxxxxx>
	Original-Date: Fri, 07 Nov 1997 16:33:34 +0100
	Message-ID:    <199711071533.QAA05401@xxxxxxxxxxxx>

> 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



Messages sorted by: Reverse Date, Date, Thread, Author