Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
https://wiki.archlinux.org/title/Bug_reporting_guidelines
Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.
REPEAT: Do NOT report bugs for outdated packages!
FS#51616 - /etc/zsh/zprofile clobbers PATH.
Attached to Project:
Community Packages
Opened by Colin Caine (colin) - Monday, 31 October 2016, 16:52 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 31 October 2016, 16:56 GMT
Opened by Colin Caine (colin) - Monday, 31 October 2016, 16:52 GMT
Last edited by Doug Newgard (Scimmia) - Monday, 31 October 2016, 16:56 GMT
|
DetailsDescription:
It is customary in zsh land to set PATH in .zshenv. This is even recommended in the documentation. zsh sources startup files in the following order if it is a login shell: /etc/zsh/zshenv .zshenv /etc/zsh/zprofile .zprofile /etc/zsh/zshrc .zshrc /etc/zsh/zlogin .zlogin So PATH is set by .zshenv before /etc/zprofile is sourced. Arch's packaged /etc/zprofile simply sources /etc/profile. /etc/profile clobbers PATH. Possible fixes: 1) Make zprofile save the existing PATH and merge after sourcing /etc/profile 2) mv /etc/zprofile /etc/zshenv |
This task depends upon
Closed by Doug Newgard (Scimmia)
Monday, 31 October 2016, 16:56 GMT
Reason for closing: Duplicate
Additional comments about closing: FS#51615
Monday, 31 October 2016, 16:56 GMT
Reason for closing: Duplicate
Additional comments about closing: