From: Travis Swicegood Date: Thu, 31 Mar 2011 22:01:33 +0000 (-0500) Subject: add support for mactex if its present X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=97e73f44dc345555008fba8c400dd860ee2cf084;p=common%2Fbash_it.git add support for mactex if its present --- diff --git a/plugins/latex.plugin.bash b/plugins/latex.plugin.bash new file mode 100644 index 0000000..b8a4baa --- /dev/null +++ b/plugins/latex.plugin.bash @@ -0,0 +1,7 @@ +#!/bin/bash + +# add mactex to the path if its present +MACTEX_PATH=/usr/local/texlive/2009/bin/universal-darwin +if [[ -d $MACTEX_PATH ]]; then + export PATH=$PATH:$MACTEX_PATH +fi