[OS X TeX] les bins MacteX ne sont pas dans le PATH ?

Yvon Thoraval yvon.ubuntu at gmail.com
Wed Jul 4 22:59:10 CEST 2012


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 ?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/macostex-archives/attachments/20120704/a14245e3/attachment.html>


More information about the macostex-archives mailing list