diff options
author | SuprDewd <suprdewd@gmail.com> | 2011-01-10 17:56:38 +0000 |
---|---|---|
committer | SuprDewd <suprdewd@gmail.com> | 2011-01-10 17:56:38 +0000 |
commit | beb980d37013ee9cf5f2fdd4f19444f7f7a77fcf (patch) | |
tree | fab6d1e8a11ba90ef236be37de99096f805e9c7b /lib/directories.zsh | |
parent | bcc235e1420f39a0dbd8a7672dffc0f0c81e9b53 (diff) | |
parent | 7a9cc198196cb0c935afe96e1de249c3a05ad413 (diff) | |
download | zsh-beb980d37013ee9cf5f2fdd4f19444f7f7a77fcf.tar.gz zsh-beb980d37013ee9cf5f2fdd4f19444f7f7a77fcf.tar.bz2 zsh-beb980d37013ee9cf5f2fdd4f19444f7f7a77fcf.zip |
Merge branch 'master' of git://github.com/robbyrussell/oh-my-zsh
Diffstat (limited to 'lib/directories.zsh')
-rw-r--r-- | lib/directories.zsh | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/directories.zsh b/lib/directories.zsh index 56d7a2316..bb114f615 100644 --- a/lib/directories.zsh +++ b/lib/directories.zsh @@ -36,5 +36,9 @@ cd () { alias md='mkdir -p' alias rd=rmdir +alias d='dirs -v' -alias d='dirs -v'
\ No newline at end of file +# mkdir & cd to it +function mcd() { + mkdir -p "$1" && cd "$1"; +}
\ No newline at end of file |