First instance of the MacTeX plugin

Only ensures that the /usr/texbin and ~/texbin directories are on your
PATH if they're not already there. I'll expand it further to include
some help TeX-specific functions and aliases in the future.
This commit is contained in:
Ian Chesal 2012-02-08 18:26:26 -05:00
commit 1ac89fc57c

View file

@ -0,0 +1,9 @@
LATEX=`which latex`
if [[ $LATEX == 'latex not found' ]] ; then
if [ -d /usr/texbin ] ; then
export PATH=/usr/texbin:${PATH}
fi
if [ -d ~/texbin ] ; then
export PATH=~/texbin;${PATH}
fi
fi