Hacker News new | ask | show | jobs
by I_complete_me 1885 days ago
In zsh, you use -> % take <directory> which makes the dir and cd's into it.
2 comments

That isn't standard zsh behaviour. I suspect it comes from oh-my-zsh¹, but wouldn't be surprised if it isn't a bunch of the configuration bundles.

¹ https://github.com/ohmyzsh/ohmyzsh/blob/master/lib/functions...

The bash version works in zsh too.