Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [RFC][PATCH] Add change-directory() widget function
- X-seq: zsh-workers 48638
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx>
- Cc: Marlon Richert <marlon.richert@xxxxxxxxx>, Zsh hackers list <zsh-workers@xxxxxxx>
- Subject: Re: [RFC][PATCH] Add change-directory() widget function
- Date: Tue, 20 Apr 2021 17:09:17 -0700
- Archived-at: <https://zsh.org/workers/48638>
- In-reply-to: <20210420221429.GF1035@tarpaulin.shahaf.local2>
- List-id: <zsh-workers.zsh.org>
- References: <95CDA630-4EE5-4003-8D9C-CCCB9A47F109@gmail.com> <CAH+w=7bpkYktd4UN5DtUS45MMNdWYr7c-OG7DHOX21QXG4LMUA@mail.gmail.com> <4D587C0C-EB5F-4A58-A0AE-D45E43F432CD@gmail.com> <20210420221429.GF1035@tarpaulin.shahaf.local2>
On Tue, Apr 20, 2021 at 3:14 PM Daniel Shahaf <d.s@xxxxxxxxxxxxxxxxxx> wrote:
>
> Should this be implemented in C so it can call chdir(2) directly without
> gymnastics?
Even if implemented in C it can't call chdir directly without
gymnastics, it has to pass through the zsh internal cd helpers that
maintain PWD and the directory stack and so on.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author