add support for mactex if its present
authorTravis Swicegood <development@domain51.com>
Thu, 31 Mar 2011 22:01:33 +0000 (17:01 -0500)
committerTravis Swicegood <development@domain51.com>
Thu, 31 Mar 2011 22:02:48 +0000 (17:02 -0500)
plugins/latex.plugin.bash [new file with mode: 0644]

diff --git a/plugins/latex.plugin.bash b/plugins/latex.plugin.bash
new file mode 100644 (file)
index 0000000..b8a4baa
--- /dev/null
@@ -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