Skip to content

Instantly share code, notes, and snippets.

@Calvein
Created August 27, 2013 06:58
Show Gist options
  • Save Calvein/6350431 to your computer and use it in GitHub Desktop.
Save Calvein/6350431 to your computer and use it in GitHub Desktop.
mcd = mkdir & cd
# mkdir & cd
function mcd() {
mkdir -p "$1" && cd "$1";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment