Skip to content

Commit

Permalink
made the 'd' alias only show the directories that can be cd'ed to usi…
Browse files Browse the repository at this point in the history
…ng the number aliases
  • Loading branch information
scialex committed Feb 28, 2012
1 parent 1120f97 commit d693711
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/directories.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -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.