mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-20 03:02:29 +01:00
add function mc
add function mc which mkdir -p args and then jump into the new directory
This commit is contained in:
parent
df5b09e20b
commit
c0c4f259ce
1 changed files with 3 additions and 0 deletions
|
|
@ -38,5 +38,8 @@ cd () {
|
|||
}
|
||||
|
||||
alias md='mkdir -p'
|
||||
mc(){
|
||||
mkdir -p $1 && cd $_;
|
||||
}
|
||||
alias rd=rmdir
|
||||
alias d='dirs -v | head -10'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue