mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-26 08:18:58 +01:00
made the 'd' alias only show the directories that can be cd'ed to using the number aliases
This commit is contained in:
parent
1120f97305
commit
d693711f14
@ -36,9 +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 | head -10'
|
||||||
|
|
||||||
# mkdir & cd to it
|
# mkdir & cd to it
|
||||||
function mcd() {
|
function mcd() {
|
||||||
mkdir -p "$1" && cd "$1";
|
mkdir -p "$1" && cd "$1";
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user