mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-20 03:02:29 +01:00
added command mcd to mkdir and cd to the created directory
This commit is contained in:
parent
96e4e5dd03
commit
9984951b12
1 changed files with 5 additions and 1 deletions
|
|
@ -38,6 +38,10 @@ cd () {
|
|||
fi
|
||||
}
|
||||
|
||||
mcd () {
|
||||
mkdir -p "$@" && cd "$_"
|
||||
}
|
||||
|
||||
alias md='mkdir -p'
|
||||
alias rd=rmdir
|
||||
# alias rd=rmdir
|
||||
alias d='dirs -v | head -10'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue