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

Re: zsh glitch



Mikael Magnusson <mikachu@xxxxxxxxx> writes:

> What you've done is define a function that looks like this
> ls() {
>   ls
> }
> and then you call it, which causes an infinite recursion. This usually
> does not end well in any language.

Time to add tail-recursion to zsh!

-- 
Christian Neukirchen  <chneukirchen@xxxxxxxxx>  http://chneukirchen.org



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