commit | 97e73f44dc345555008fba8c400dd860ee2cf084 | [log] [tgz] |
---|---|---|
author | Travis Swicegood <development@domain51.com> | 周四 3月 31 17:01:33 2011 -0500 |
committer | Travis Swicegood <development@domain51.com> | 周四 3月 31 17:02:48 2011 -0500 |
tree | 1b177bac5f1324f19c0166ef64d10fa2fccb019f | |
parent | b2857a37747c3da40537e3b7fca7aac7fa15f2f7 [diff] |
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