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

Re: Overriding "builtin"



----original message----
From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
Date: Fri, 12 Aug 2022 08:41:25 -0700
> On Fri, Aug 12, 2022 at 6:54 AM Thomas Lauer <thomas.lauer@xxxxxxxxxx> wrote:
> >
> > Hm... this works here as I'd expect, but since you said "in his case"
> > there may be something that turns that into a non-terminating recursion
> > just for Zach's case. But what? (Always eager to learn something :-/ )
> 
> Zach's case is that "builtin" is itself a function.
> 
> builtin() { echo HA HA no builtins here; "$@" }

Got it. THX Tom




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