21 ms·
Zsh function to create a directory and cd into it in one go: function mkcd() { mkdir -p "$@" && eval cd "\"\$$#\""; }
by franky47 8y ago
Zsh function to create a directory and cd into it in one go:
function mkcd() { mkdir -p "$@" && eval cd "\"\$$#\""; }
- I_complete_me 8y agozsh already has the take command for this AFAIK