Permalink
Browse files

Unset the MACTEXT_PATH var so it doesn't leak through to env

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.
  • Loading branch information...
1 parent ad502d9 commit 8392f29250b03abdf1864d6642136a502dabaa83 @tswicegood tswicegood committed Apr 1, 2011
Showing with 1 addition and 0 deletions.
  1. +1 −0 plugins/latex.plugin.bash
View
1 plugins/latex.plugin.bash
@@ -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

0 comments on commit 8392f29

Please sign in to comment.