zsh should provide the "pathmunge" function for the duration it loads profile.d scripts for non-login shells from /etc/zshrc. See bug 123621 for more info.
Any news about this? I'd like to know if I need to work around this in my packages for F-13.
zsh is pretty much the last thing on my TODO list ... if you provide a patch, chances are I'll fix this omission (or, even better, apply for co-maintainer status :)
This bug appears to have been reported against 'rawhide' during the Fedora 13 development cycle. Changing version to '13'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
Created attachment 400276 [details] Provide pathmunge for profile.d scripts Here's a patch that appears to work, basically just copy/pasted the function from /etc/profile. I don't use zsh myself so my co-maintainership would not make much sense... and someone familiar with zsh scripting should review the patch.
As I mentioned in #571549, that patch works for me. Thanks.
James, let me know if you'd like me to apply this and do the builds.
I've just built this in devel and F-13 http://koji.fedoraproject.org/koji/taskinfo?taskID=2067803 http://koji.fedoraproject.org/koji/taskinfo?taskID=2067815 ...I'll push directly to F-13/stable.
zsh-4.3.10-5.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/zsh-4.3.10-5.fc13
zsh-4.3.10-5.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.
*** Bug 571549 has been marked as a duplicate of this bug. ***
(In reply to comment #9) > zsh-4.3.10-5.fc13 has been pushed to the Fedora 13 stable repository. If > problems still persist, please make note of it in this bug report. after updating to f13, i get this message when starting zsh: "/etc/profile.d/ccache.sh:4: command not found: pathmunge" yum info zsh: Installed Packages Name : zsh Arch : x86_64 Version : 4.3.10 Release : 5.fc13
Aviad, /etc/zshrc is a config. file ... have you altered it? Is there a /etc/zshrc.rpmnew ? What does your /etc/zshrc look like?
(In reply to comment #13) > Aviad, /etc/zshrc is a config. file ... have you altered it? Is there a > /etc/zshrc.rpmnew ? > What does your /etc/zshrc look like? First of all, "cp /etc/zshrc.rpmnew /etc/zshrc" solved it - thanks! (I did make some changes to /etc/zshrc, probably causing the patch not to be automatically included.)
ccache-2.4-18.fc13 has been submitted as an update for Fedora 13. http://admin.fedoraproject.org/updates/ccache-2.4-18.fc13
(In reply to comment #13) > Aviad, /etc/zshrc is a config. file ... have you altered it? Is there a > /etc/zshrc.rpmnew ? I managed to miss this scenario, sorry. ccache-2.4-18.fc13 gets rid of use of pathmunge.
ccache-2.4-18.fc13 has been pushed to the Fedora 13 stable repository. If problems still persist, please make note of it in this bug report.