Skip to content

Commit

Permalink
.functions: Rename md to mkd now that OS X 10.8 has an utility na…
Browse files Browse the repository at this point in the history
…med `md`
  • Loading branch information
vasylnakvasiuk authored and mathiasbynens committed Aug 4, 2012
1 parent 45c1bce commit 3bf5166
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .functions
@@ -1,5 +1,5 @@
# Create a new directory and enter it
function md() {
function mkd() {
mkdir -p "$@" && cd "$@"
}

Expand Down

3 comments on commit 3bf5166

@nvartolomei
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Take a look at description here Homebrew/legacy-homebrew#13612,
it was shipped with pre-10.8, now it's not builtin anymore.

Just noted.

@vasylnakvasiuk
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok. But we want to support 10.6+, not only 10.8, I think.

mkd - also good and short name.

@mathiasbynens
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the correction, @nvartolomei.

Please sign in to comment.