Added function to mkdir and immediately change to it
This commit is contained in:
parent
7a1dd5a172
commit
5f0afcdd3c
@ -36,5 +36,9 @@ cd () {
|
||||
|
||||
alias md='mkdir -p'
|
||||
alias rd=rmdir
|
||||
|
||||
alias d='dirs -v'
|
||||
|
||||
# mkdir & cd to it
|
||||
function mcd() {
|
||||
mkdir -p "$1" && cd "$1";
|
||||
}
|
Reference in New Issue
Block a user