Unset the MACTEXT_PATH var so it doesn't leak through to env
authorTravis Swicegood <development@domain51.com>
Fri, 1 Apr 2011 13:07:14 +0000 (08:07 -0500)
committerTravis Swicegood <development@domain51.com>
Fri, 1 Apr 2011 13:07:14 +0000 (08:07 -0500)
Thought this variable wasn't making it to the session, but it does even
without the `export`.  This corrects that by explicitly unsetting it
before we continue.

plugins/latex.plugin.bash

index b8a4baa..9559255 100644 (file)
@@ -5,3 +5,4 @@ MACTEX_PATH=/usr/local/texlive/2009/bin/universal-darwin
 if [[ -d  $MACTEX_PATH ]]; then
     export PATH=$PATH:$MACTEX_PATH
 fi
+unset MACTEX_PATH