Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Overriding "builtin"
- X-seq: zsh-users 27947
- From: Thomas Lauer <thomas.lauer@xxxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Cc: Zsh Users <zsh-users@xxxxxxx>
- Subject: Re: Overriding "builtin"
- Date: Fri, 12 Aug 2022 17:07:46 +0100
- Archived-at: <https://zsh.org/users/27947>
- In-reply-to: <CAH+w=7aR4vZtB-=-Q9rc5CvBJ9RNudatbEy2KRiYJKj3XuyTEg@mail.gmail.com>
- List-id: <zsh-users.zsh.org>
- Organization: TL
- References: <CAMP9c5k1C8GmB+LE56J+o7xv2HDwHRApCHqrx0=NK93yh=BEUQ@mail.gmail.com> <YvW5xVGPG4Y4OLGk@danh.dev> <64b57144-d4af-4708-983b-0bd202557bbd@www.fastmail.com> <glmcfh1u38uks553f5lq84jjoo6pn561i0@tlc.com> <CAH+w=7aR4vZtB-=-Q9rc5CvBJ9RNudatbEy2KRiYJKj3XuyTEg@mail.gmail.com>
----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