1
0
Fork 0

Added function to mkdir and immediately change to it

pull/1/merge
Derek Prior 14 years ago
parent 4fadc30247
commit 2b03b95122

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