News for hackers. Stuff that matters.
Re:Show HN: tere – A Faster Alternative to cd+ls by thyrox on Friday July 15, 2022 @08:09AM (#32107259)
Sorry for being dense but I thought when I entered into a directory and pressed Esc it would pwd into that directory. But in my case, entering the dir and pressing esc just prints the dir name and doesn't pwd into it. I did the cargo install.. What am I missing?
Re:Show HN: tere – A Faster Alternative to cd+ls by mgunyho on Friday July 15, 2022 @08:12AM (#32107274)
You need to configure a shell function to actually do the cd (see the snippets in the README). It has to be done this way because a subprocess cannot change the pwd of the parent.