Skip to content

Instantly share code, notes, and snippets.

@ryo1kato
Created February 17, 2011 06:45
Show Gist options
  • Save ryo1kato/831171 to your computer and use it in GitHub Desktop.
Save ryo1kato/831171 to your computer and use it in GitHub Desktop.
mkcdir
mkcdir(){
mkdir "$@"
if [ "$1" = "-p" ]; then
cd "$2"
else
cd "$1"
fi
}
@stephane-archer
Copy link

❤️

@MatMasIt
Copy link

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment