Bug 548960
Summary: | zsh should provide the pathmunge function when loading profile.d scripts from zshrc | ||||||
---|---|---|---|---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Ville Skyttä <ville.skytta> | ||||
Component: | zsh | Assignee: | James Antill <james.antill> | ||||
Status: | CLOSED ERRATA | QA Contact: | Fedora Extras Quality Assurance <extras-qa> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | low | ||||||
Version: | 13 | CC: | avi.rei, fedora, james.antill, meyering | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | zsh-4.3.10-5.fc13 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | Environment: | ||||||
Last Closed: | 2010-03-23 23:37:18 UTC | Type: | --- | ||||
Regression: | --- | Mount Type: | --- | ||||
Documentation: | --- | CRM: | |||||
Verified Versions: | Category: | --- | |||||
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
Cloudforms Team: | --- | Target Upstream Version: | |||||
Embargoed: | |||||||
Bug Depends On: | |||||||
Bug Blocks: | 571549 | ||||||
Attachments: |
|
Description
Ville Skyttä
2009-12-19 17:45:17 UTC
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 (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. |