Bugzilla – Bug 523988
/etc/profile overwrites PATH
Last modified: 2017-08-11 09:39:56 UTC
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.0.7) Gecko/2009022800 SUSE/3.0.7-1.1.6 Firefox/3.0.7 AutoPager/0.5.2.2 (http://www.teesoft.info/) There are several lines in /etc/profile which set PATH to a value that does not include the old value of $PATH. This means that any manipulation of $PATH that occurs before /etc/profile is lost; in particular, I have PATH=$HOME/links/bin:$PATH in .zshenv, which runs before /etc/zprofile, which sources /etc/profile, which overwrites the above (but shouldn't). Reproducible: Always Steps to Reproduce: 1. Modify $PATH in .zshenv. 2. Start a zsh instance. Actual Results: $PATH is short, and does not reflect the modifications in .zshenv. Expected Results: $PATH should include the modifications done in .zshenv.
Assigning to correct maintainer to check