1
0
mirror of https://github.com/robbyrussell/oh-my-zsh.git synced 2026-04-24 07:13:28 +02:00

made the 'd' alias only show the directories that can be cd'ed to using the number aliases

This commit is contained in:
Alex Light
2012-02-28 13:52:57 -05:00
parent 1120f97305
commit d693711f14
+2 -2
View File
@@ -36,9 +36,9 @@ cd () {
alias md='mkdir -p'
alias rd=rmdir
alias d='dirs -v'
alias d='dirs -v | head -10'
# mkdir & cd to it
function mcd() {
mkdir -p "$1" && cd "$1";
}
}