Y
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
JNRowe
1885 days ago
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...
link
Normille
1885 days ago
The bash version works in zsh too.
link
¹ https://github.com/ohmyzsh/ohmyzsh/blob/master/lib/functions...