Skip to content
Browse files

Merge pull request #977 from scialex/better-d

Make the 'd' alias only show the directories that can be cd'd to using the number aliases.
  • Loading branch information...
2 parents e3d426d + d693711 commit e8d582aba98d57214a374bed01570ba791c54d9e @robbyrussell committed Jun 13, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 lib/directories.zsh
View
4 lib/directories.zsh
@@ -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 e8d582a

Please sign in to comment.
Something went wrong with that request. Please try again.