Permalink
Browse files

made the 'd' alias only show the directories that can be cd'ed to usi…

…ng the number aliases
  • Loading branch information...
1 parent 1120f97 commit d693711f1419c4c4da1da8eca35c1d983bb42ab0 @scialex scialex committed Feb 28, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/directories.zsh
View
@@ -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";
-}
+}

0 comments on commit d693711

Please sign in to comment.