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

Re: [RFC][PATCH] Add change-directory() widget function



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