Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: confusion over the proper way to make an alias
- X-seq: zsh-users 1134
- From: Timothy J Luoma <luomat+zsh+users@xxxxxxxxxxxxxxx>
- To: Peter Stephenson <pws@xxxxxx>
- Subject: Re: confusion over the proper way to make an alias
- Date: Fri, 7 Nov 97 10:35:02 -0500
- Cc: zsh-users@xxxxxxxxxxxxxxx (Zsh users list)
- In-reply-to: <199711071533.QAA05401@xxxxxxxxxxxx>
- References: <199711071533.QAA05401@xxxxxxxxxxxx>
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