Browse code

Merge branch 'master' of https://github.com/derekprior/oh-my-zsh into derekprior-master

Robby Russell authored on 08/01/2011 at 19:31:32
Showing 1 changed files
... ...
@@ -36,5 +36,9 @@ cd () {
36 36
 
37 37
 alias md='mkdir -p'
38 38
 alias rd=rmdir
39
+alias d='dirs -v'
39 40
 
40
-alias d='dirs -v'
41 41
\ No newline at end of file
42
+# mkdir & cd to it
43
+function mcd() { 
44
+  mkdir -p "$1" && cd "$1"; 
45
+}
42 46
\ No newline at end of file