move gitdc bash alias to a "dc" git alias

This commit is contained in:
Josh Holtrop 2011-02-16 15:01:33 -05:00
parent 4e7482e666
commit 707c66d32c

View File

@ -73,7 +73,6 @@ function mark()
;; ;;
esac esac
} }
alias gitdc='git diff --cached'
export EDITOR=vim export EDITOR=vim
function git-config-joshs() function git-config-joshs()
{ {
@ -84,6 +83,7 @@ function git-config-joshs()
git config --global color.ui true git config --global color.ui true
git config --global core.excludesfile ${HOME}/.gitignore git config --global core.excludesfile ${HOME}/.gitignore
git config --global core.pager 'less -FRXi' git config --global core.pager 'less -FRXi'
git config --global alias.dc 'diff --cached'
} }
function svn-contributors() function svn-contributors()
{ {