Browse Source

Added function to mkdir and immediately change to it

master
Derek Prior 14 years ago
parent
commit
5f0afcdd3c
  1. 6
      lib/directories.zsh

6
lib/directories.zsh

@ -36,5 +36,9 @@ cd () { @@ -36,5 +36,9 @@ cd () {
alias md='mkdir -p'
alias rd=rmdir
alias d='dirs -v'
# mkdir & cd to it
function mcd() {
mkdir -p "$1" && cd "$1";
}
Loading…
Cancel
Save