Skip to content

Instantly share code, notes, and snippets.

@goozbach
Created February 2, 2012 20:36
Show Gist options
  • Save goozbach/1725609 to your computer and use it in GitHub Desktop.
Save goozbach/1725609 to your computer and use it in GitHub Desktop.
mkcd
# mkdir, cd into it
mkcd () {
mkdir -p -- "$@" && cd "$@"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment