added a file to automatically set up git for macs

This commit is contained in:
David Majnemer 2008-12-23 21:38:35 -05:00
parent 7a820de14a
commit 28abafcf9d

19
zsh/git Executable file
View file

@ -0,0 +1,19 @@
if [[ -d /usr/local/git/man ]] ; then
if [[ -z "${MANPATH}" ]] ; then
export MANPATH="/usr/local/git/man":$(manpath)
else
export MANPATH="/usr/local/git/man:${MANPATH}"
fi
fi
if [[ -d /usr/local/git/bin ]] ; then
if [[ -z "${PATH}" ]] ; then
export PATH="/usr/local/git/bin"
else
export PATH="/usr/local/git/bin:${PATH}"
fi
fi
if [[ -d /usr/local/git/libexec/git-core ]] ; then
export PATH="/usr/local/git/libexec/git-core:${PATH}"
fi