Hacker News new | past | comments | ask | show | jobs | submit login

In zsh, you use -> % take <directory> which makes the dir and cd's into it.



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.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: