[OS X TeX] Setting TEXINPUTS/BIBINPUTS on Catalina

Ettore Aldrovandi ealdrov at mail.math.fsu.edu
Sun Oct 18 15:27:09 CEST 2020

> On Oct 18, 2020, at 08:51, Herbert Schulz <herbs at wideopenwest.com> wrote:
>> On Oct 18, 2020, at 3:27 AM, Martin Costabel <costabel at wanadoo.fr> wrote:
>> On 18/10/20 10:09, Joseph Wright wrote:
>>> I want to export
>>>    BIBINPUTS=~/Literature//;
>>> which I used to be able to do from my .bash_rc, but can't any more.
>> Try .zshrc instead. The default shell on catalina is zsh.
>> -- 
>> Martin
> Howdy,
> I think it's ~/.zprofile. I believe you can get it to source your .profile by putting the line
> [[ -e ~/.profile ]] && emulate sh -c 'source ~/.profile'
> in a ~/.zprofile file. If you were using a ~/.bash_profile you can copy it to ~/.profile or change the line.
> Personally, I'm most familiar with the bash shell so I made it my default. You then get an annoying notification that you should change to the zsh but there is a link which gives you a command (I don't remember what it is since you need only run it once) to get rid of that message. Aaahhh... back to familiar territory.


better not use .zprofile. That’s for login shells.  So, if you run under an non-login shell, variables set there may not be picked up.

The best place is .zshenv, or, on the reasonable assumption that it makes sense to set BIBINPUTS for interactive shells, .zshrc is the place to go.

That being said:

1. One can make the bash shell the default one (using the chsh command). But why? zsh is a better shell.
2. I keep my unique source in
    as others have stated, and it’s picked up automatically.


Ettore Aldrovandi
Department of Mathematics, Florida State University
1017 Academic Way                *   http://www.math.fsu.edu/~ealdrov
Tallahassee, FL 32306-4510, USA * * aldrovandi at math dot fsu dot edu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://tug.org/pipermail/macostex-archives/attachments/20201018/adc10c4d/attachment.html>
-------------- next part --------------
----------- Please Consult the Following Before Posting -----------
TeX FAQ: http://www.tex.ac.uk/faq
List Reminders and Etiquette: https://sites.esm.psu.edu/~gray/tex/
List Archives: http://dir.gmane.org/gmane.comp.tex.macosx
TeX on Mac OS X Website: http://mactex-wiki.tug.org/
List Info: https://email.esm.psu.edu/mailman/listinfo/macosx-tex

More information about the macostex-archives mailing list.