# These variables need to exist
set prefix=/home/andersen/.local
set exec_prefix=${prefix}
set datarootdir=${prefix}/share

setenv PATH "$exec_prefix/bin:$PATH"
setenv LD_LIBRARY_PATH "${exec_prefix}/lib:/home/andersen/.local/lib:/home/andersen/.local/lib:$LD_LIBRARY_PATH"

if ($?PYTHONPATH) then
setenv PYTHONPATH "/home/andersen/.local/lib64/python2.7/site-packages:$PYTHONPATH"
else
setenv PYTHONPATH "/home/andersen/.local/lib64/python2.7/site-packages"
endif

if ($?TEXMFHOME) then
setenv TEXMFHOME "${datarootdir}/Rivet/texmf:$TEXMFHOME"
else
setenv TEXMFHOME "${datarootdir}/Rivet/texmf"
endif

if ($?HOMETEXMF) then
setenv HOMETEXMF "${datarootdir}/Rivet/texmf:$HOMETEXMF"
else
setenv HOMETEXMF "${datarootdir}/Rivet/texmf"
endif

if ($?TEXINPUTS) then
setenv TEXINPUTS "${datarootdir}/Rivet/texmf:$TEXINPUTS"
else
setenv TEXINPUTS "${datarootdir}/Rivet/texmf/tex//"
endif

if ($?LATEXINPUTS) then
setenv LATEXINPUTS "${datarootdir}/Rivet/texmf:$LATEXINPUTS"
else
setenv LATEXINPUTS "${datarootdir}/Rivet/texmf/tex//"
endif
