Oh My Zsh `take` is mkdir and cd

Just learned about take in Oh My Zsh.

$ take foo

is the same as

$ mkdir foo
$ cd foo

It runs mkdir -p, so take a/b/c creates the missing parents and lands you in c. Pass several names and you end up in the last one.

These days the same function also takes a remote argument: a .git URL gets cloned, a tarball or zip gets downloaded and extracted, then you cd into the result. mkcd is the directory-only version.

Both live in ~/.oh-my-zsh/lib/functions.zsh.