diff --git a/plugins/mactex/mactex.plugin.zsh b/plugins/mactex/mactex.plugin.zsh new file mode 100644 index 000000000..78280f91a --- /dev/null +++ b/plugins/mactex/mactex.plugin.zsh @@ -0,0 +1,9 @@ +LATEX=`which latex` +if [[ $LATEX == 'latex not found' ]] ; then + if [ -d /usr/texbin ] ; then + export PATH=/usr/texbin:${PATH} + fi + if [ -d ~/texbin ] ; then + export PATH=~/texbin;${PATH} + fi +fi \ No newline at end of file