1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-12-22 23:08:00 +00:00

Added function to mkdir and immediately change to it

This commit is contained in:
Derek Prior 2010-12-21 14:28:40 -05:00
parent 7a1dd5a172
commit 5f0afcdd3c

View File

@ -36,5 +36,9 @@ cd () {
alias md='mkdir -p'
alias rd=rmdir
alias d='dirs -v'
alias d='dirs -v'
# mkdir & cd to it
function mcd() {
mkdir -p "$1" && cd "$1";
}