* Aliasing and function
@ 2001-08-12 20:03 Bart Schaefer
0 siblings, 0 replies; only message in thread
From: Bart Schaefer @ 2001-08-12 20:03 UTC (permalink / raw)
To: zsh-workers
I mentioned this once before, on a tangentially related thread, but nobody
responded.
The FAQ section 2.3 says (and has for a long time):
Luckily, it is not possible to define `function' as an alias.
I don't know at exactly what point that statement became false, but:
zagzig% alias function=for
zagzig% set a b c
zagzig% function x { echo $x }
a
b
c
zagzig%
Either the code or the FAQ needs fixing. I lean slightly to the code.
--
Bart Schaefer Brass Lantern Enterprises
http://www.well.com/user/barts http://www.brasslantern.com
Zsh: http://www.zsh.org | PHPerl Project: http://phperl.sourceforge.net
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2001-08-12 20:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-12 20:03 Aliasing and function Bart Schaefer
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).