Skip to content

Instantly share code, notes, and snippets.

@glenwatson
Last active August 29, 2015 14:05
Show Gist options
  • Save glenwatson/bbd96d382c7d06f9d74a to your computer and use it in GitHub Desktop.
Save glenwatson/bbd96d382c7d06f9d74a to your computer and use it in GitHub Desktop.
md() vs. not-md()
#!/bin/bash
function md() {
mkdir $1 && cd $1
}
#!/bin/bash
function mdx() {
mkdir $1 && cd $1
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment