[OS X TeX] les bins MacteX ne sont pas dans le PATH ?
Herbert Schulz
herbs at wideopenwest.com
Wed Jul 4 17:08:39 EDT 2012
On Jul 4, 2012, at 3:59 PM, Yvon Thoraval wrote:
> 2012/7/4 Ettore Aldrovandi <ealdrov at math.fsu.edu>
>
>> On Wed, Jul 04, 2012 at 09:35:01PM +0200, Yvon Thoraval wrote:
>>> In fact, it seems my /etc/zshenv was incomplete because it is this
>> file
>>> setting ZDOT.
>>
>> It is ZDOTDIR, not ZDOT. I don't see why /etc/zshenv should set it.
>>
>
> I've read ZDOT in "zsh-templates-2.0.4" from MacPorts and Google Code.
>
>
>>> Then I've updated it.
>>
>> Why? /etc/zshenv should be pretty minimal, since it's executed by every
>> instance of zsh. Moreover it belongs to the system and it is bound to
>> be overwritten by system updates.
>
>
> OK, then it's better for me to put that in my ~.
> Because the one in /etc didn't set the path correctly at the contrary of
> the same content in my home, looks strange.
>
> In fact the stock one just runs
>> /usr/libexec/path_helper to set the path. I think it would be
>> advisable to leave it as it is.
>>
>>> What does this "export" do exactly ?
>>
>> It propagates the variables to the environment. If you just say
>>
>> PATH=/usr/texbin:$PATH
>>
>> it only sets PATH to the value you want within the script's context.
>
>
> in a script ok, but in a .zshrc file ?
Howdy,
Purely out of curiosity, what happens if you put a copy of /etc/zshenv in /opt/local/etc? I have no idea how that zsh would be set up.
Good Luck,
Herb Schulz
(herbs at wideopenwest dot com)
More information about the MacOSX-TeX
mailing list