d693711f1419c4c4da1da8eca35c1d983bb42ab0

Author
Alex Light <scialexlight@gmail.com>
Committer
Alex Light <scialexlight@gmail.com>
Date

Message

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

Diff

 1diff --git a/lib/directories.zsh b/lib/directories.zsh
 2index bb114f61531a2086ebf16d9266d519dba592c0be..a787db9ebda2664163bebd1a42ce4727801eef61 100644
 3--- a/lib/directories.zsh
 4+++ b/lib/directories.zsh
 5@@ -36,9 +36,9 @@ cd () {
 6 
 7 alias md='mkdir -p'
 8 alias rd=rmdir
 9-alias d='dirs -v'
10+alias d='dirs -v | head -10'
11 
12 # mkdir & cd to it
13 function mcd() { 
14   mkdir -p "$1" && cd "$1"; 
15-}
16+}