Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
infinite recursion
- X-seq: zsh-workers 16902
- From: Trond Eivind Glomsrød <teg@xxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: infinite recursion
- Date: Mon, 25 Mar 2002 16:16:56 -0500 (EST)
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- Sender: teg@xxxxxxxxxxxxxxxxxxxxxxx
zsh 4.0.4, glibc 2.2.4, i686, 2.4 linux kernel
Creating an alias and a function with the same name leads to recursion:
[teg@halden teg]$ zsh -
halden% alias xx='echo ALIAS'
halden% xx
ALIAS
halden% xx()
function> { echo FUNC }
halden% which xx
xx: aliased to echo ALIAS
halden% xx
Killed
[teg@halden teg]$
(at this point, the zsh process was 500 MB large...)
--
Trond Eivind Glomsrød
Red Hat, Inc.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author