[Pkg-zsh-devel] Why does debian/zshenv handle $PATH as it does? I'd like to fix^W^W^Wchange that.

Clint Adams clint at debian.org
Fri Mar 8 22:21:55 UTC 2013


On Thu, Mar 07, 2013 at 05:20:13PM +0100, Axel Beckert wrote:
> Hi Clint,
> 
> yet another question about the history of Debian's zsh package. :-)
> 
> debian/zshenv currently contains the following code:
> 
> if [[ -z "$PATH" || "$PATH" == "/bin:/usr/bin" ]]
> then
>         export PATH="/usr/local/bin:/usr/bin:/bin:/usr/games"
> fi

There was something a long time ago that was setting PATH
to /bin:/usr/bin in certain circumstances.  I think this was
before it was done through PAM.  I don't remember any more
details, but I imagine that that you are correct and it's
no longer relevant.



More information about the Pkg-zsh-devel mailing list