From: Travis Swicegood Date: Fri, 1 Apr 2011 13:07:14 +0000 (-0500) Subject: Unset the MACTEXT_PATH var so it doesn't leak through to env X-Git-Url: https://source.supwisdom.com/gerrit/gitweb?a=commitdiff_plain;h=8392f29250b03abdf1864d6642136a502dabaa83;p=common%2Fbash_it.git 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. --- diff --git a/plugins/latex.plugin.bash b/plugins/latex.plugin.bash index b8a4baa..9559255 100644 --- a/plugins/latex.plugin.bash +++ b/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