Skip to content

Instantly share code, notes, and snippets.

@tbielawa tbielawa/
Created Mar 30, 2013

What would you like to do?
A handy-dandy shell function to make a directory and change into it in one command
# Place into your .zshrc or .bashrc file
function cdmkdir() {
# $1 = the directory you want to create and then change into
mkdir -p ${1} && cd ${1}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.