mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-21 21:30:09 +00:00
Added function to mkdir and immediately change to it
This commit is contained in:
parent
4fadc30247
commit
2b03b95122
1 changed files with 5 additions and 1 deletions
|
@ -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";
|
||||
}
|
Loading…
Reference in a new issue