<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Oct 18, 2020, at 11:00, Herbert Schulz <<a href="mailto:herbs@wideopenwest.com" class="">herbs@wideopenwest.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div class=""><blockquote type="cite" class="">On Oct 18, 2020, at 8:27 AM, Ettore Aldrovandi <<a href="mailto:ealdrov@math.fsu.edu" class="">ealdrov@math.fsu.edu</a>> wrote:<br class=""><br class=""><blockquote type="cite" class=""><br class="">On Oct 18, 2020, at 08:51, Herbert Schulz <<a href="mailto:herbs@wideopenwest.com" class="">herbs@wideopenwest.com</a>> wrote:<br class=""><br class=""><blockquote type="cite" class="">On Oct 18, 2020, at 3:27 AM, Martin Costabel <<a href="mailto:costabel@wanadoo.fr" class="">costabel@wanadoo.fr</a>> wrote:<br class=""><br class="">On 18/10/20 10:09, Joseph Wright wrote:<br class=""><blockquote type="cite" class="">I want to export<br class=""><br class=""> BIBINPUTS=~/Literature//;<br class=""><br class="">which I used to be able to do from my .bash_rc, but can't any more.<br class=""></blockquote><br class="">Try .zshrc instead. The default shell on catalina is zsh.<br class=""><br class="">-- <br class="">Martin<br class=""><br class=""></blockquote><br class="">Howdy,<br class=""><br class="">I think it's ~/.zprofile. I believe you can get it to source your .profile by putting the line<br class=""><br class="">[[ -e ~/.profile ]] && emulate sh -c 'source ~/.profile'<br class=""><br class="">in a ~/.zprofile file. If you were using a ~/.bash_profile you can copy it to ~/.profile or change the line.<br class=""><br class="">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.<br class=""><br class=""></blockquote><br class="">Hello,<br class=""><br class="">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.<br class=""><br class="">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.<br class=""><br class="">That being said:<br class=""><br class="">1. One can make the bash shell the default one (using the chsh command). But why? zsh is a better shell.<br class="">2. I keep my unique source in<br class=""><span class="Apple-tab-span" style="white-space:pre"> </span><span class="Apple-tab-span" style="white-space:pre"> </span>~/Library/texmf/bibtex/bib/<br class=""> as others have stated, and it’s picked up automatically.<br class=""><br class="">—Ettore<br class=""><br class=""></blockquote>Howdy,<br class=""></div></div></blockquote><div><br class=""></div><div>Hello,</div><div><br class=""></div>I think you are answering the wrong message.</div><div><br class=""></div><div><div>I was merely pointing out that your suggestion to possibly put a value for BIBINPUTS (or any other environment variable meant for interactive use or on-the-fly reading) in .zprofile is incorrect. </div><div class=""><br class=""></div><div class=""><div>If you reread my message, I was also pointing out you don’t need to change BIBINPUTS at all, because, as other people have mentioned, putting the .bib in ~/Library/texmf/bibtex/bib is perfectly fine.</div></div><div class=""><br class=""></div></div><div><blockquote type="cite" class=""><div class=""><div class="">Assuming you installed TeX Live using the MacTeX installer the environment isn't read from memory. </div></div></blockquote><div><br class=""></div>??? </div><div><br class=""></div><div>The point of the correction is the distinction between login and non login shells. And what happens when you launch the installer depends on how you do it. But this is beside the point, because we are talking about maintenance of an already installed system, according to the original post.</div><div><br class=""></div><div><blockquote type="cite" class=""><div class=""><div class="">If you really want to change the variables use a texmf.cnf file stored in /usr/local/texlive/texmf-local/web2c which contains the changes. Make sure to run `sudo mktexlsr` after you add the file so the distribution will ``know'' about its presence.<br class=""></div></div></blockquote><div><br class=""></div><div>It doesn’t apply to me, as I was not the one asking the question in the first place. However, if you do it right, you can change the TEXMF variables in the shell environment files, but you have to use the right ones, which aren’t .zprofile or .profile. In fact, depending on how zsh is setup, .zprofile may not get read at all. Ditto for .login. </div><div><br class=""></div><div>But I never had any need to change any variables in texlive/texmf-local/web2c/. </div><div><br class=""></div><blockquote type="cite" class=""><div class=""><div class="">The best solution, though, is the symbolic link mentioned before.<br class=""></div></div></blockquote><br class=""></div><div>Symlinking from something else somewhere is probably fine, but it hardly is the “best” solution, as you will be at the sync service mercy. But that’s a different conversation. </div><div><br class=""></div><div>—Ettore</div><div><br class=""></div><div><div class=""><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; widows: 2; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal; text-align: -webkit-auto; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal; text-align: -webkit-auto; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div style="font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal; text-align: -webkit-auto; word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class=""><font face="Osaka" class=""><span style="font-size: 12px;" class="">Ettore Aldrovandi</span></font></div><div class=""><font face="Osaka" class=""><span style="font-size: 12px;" class="">Department of Mathematics, Florida State University</span></font></div><div class=""><font face="Osaka" class=""><span style="font-size: 12px;" class="">1017 Academic Way * <a href="http://www.math.fsu.edu/~ealdrov" class="">http://www.math.fsu.edu/~ealdrov</a></span></font></div><div class=""><font face="Osaka" class=""><span style="font-size: 12px;" class="">Tallahassee, FL 32306-4510, USA * * aldrovandi at math dot fsu dot edu</span></font></div><div class=""><font face="Osaka" class=""><span style="font-size: 12px;" class=""><br class=""></span></font></div></div></div></div></div></div></div></div></div></div></div></div><div><br class=""></div><div><br class=""></div><div><br class=""></div><div><br class=""></div><div><br class=""></div><div><br class=""></div><div><br class=""></div><div><br class=""></div><div><br class=""></div><div><br class=""></div></body></html>