diff options
author | Alex Light <scialexlight@gmail.com> | 2012-02-28 13:52:57 -0500 |
---|---|---|
committer | Alex Light <scialexlight@gmail.com> | 2012-02-28 13:52:57 -0500 |
commit | d693711f1419c4c4da1da8eca35c1d983bb42ab0 (patch) | |
tree | 550e80a1d31d85bb84b4d2516804d502f89f6342 /lib/directories.zsh | |
parent | 1120f973054836eeb53750f57d69fbec41a340dc (diff) | |
download | zsh-d693711f1419c4c4da1da8eca35c1d983bb42ab0.tar.gz zsh-d693711f1419c4c4da1da8eca35c1d983bb42ab0.tar.bz2 zsh-d693711f1419c4c4da1da8eca35c1d983bb42ab0.zip |
made the 'd' alias only show the directories that can be cd'ed to using the number aliases
Diffstat (limited to 'lib/directories.zsh')
-rw-r--r-- | lib/directories.zsh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/directories.zsh b/lib/directories.zsh index bb114f615..a787db9eb 100644 --- a/lib/directories.zsh +++ b/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"; -}
\ No newline at end of file +} |