Summary: | shells/zsh looks for zshrc in /etc but not in /usr/local/etc | ||
---|---|---|---|
Product: | Ports & Packages | Reporter: | Georgy <geo> |
Component: | Individual Port(s) | Assignee: | Adam Weinberger <adamw> |
Status: | Closed FIXED | ||
Severity: | Affects Only Me | CC: | geo, lme, woodsb02, xmj |
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
xmj: merge-quarterly? |
Version: | Latest | ||
Hardware: | amd64 | ||
OS: | Any |
Description
Georgy
2015-07-25 02:50:05 UTC
Fixed, thanks, sorry it took long A commit references this bug: Author: bapt Date: Fri Dec 4 23:27:24 UTC 2015 New revision: 403014 URL: https://svnweb.freebsd.org/changeset/ports/403014 Log: Update to zsh 5.2 While here: - ensure zsh looks ${PREFIX}/etc for zshrc [1] - hook the testsuite to our test framework PR: 201866 Submitted by: Georgy <delycid@gmail.com> Changes: head/shells/zsh/Makefile head/shells/zsh/distinfo head/shells/zsh/files/patch-Test_C02cond.ztst head/shells/zsh/pkg-plist Reopen given that change has been backed out and pass it to new maintainer This might be a good candidate for merging into the quarterly branch. Please re-add the feature or remove the same changes that were made in editors/vim some months ago, so that the same rule applies to all ports. Or just add an UPDATING entry, a pkg-message or whatever and make the zsh port more useful and user friendly. (In reply to Johannes Jost Meixner from comment #4) The commit was backed out; there's nothing to MFH here at this time. (In reply to Lars Engels from comment #5) I think the Right Thing is for zsh to look for appropriate configuration files in ${PREFIX}/etc and /etc, but zsh has to be taught how to do that (and I haven't had time to do that yet). But then also, which one has priority? I don't think that forcing only /usr/local/etc is any better than forcing only /etc, as it's just going to cause confusion. I have asked the question to the zsh mailing list here as to whether it is feasible to allow zsh to search multiple directories for its startup/shutdown configuration scripts: http://www.zsh.org/mla/workers/2016/msg01288.html A commit references this bug: Author: adamw Date: Fri Jun 24 14:13:28 UTC 2016 New revision: 417423 URL: https://svnweb.freebsd.org/changeset/ports/417423 Log: Switch zsh back to looking for system-wide files under ${PREFIX}/etc, rather than /etc. Add an option, ETCDIR, to switch it back to /etc. Also includes a couple whitespace cleanups. PORTREVISION bump, and a note in UPDATING. PR: 201866 Changes: head/UPDATING head/shells/zsh/Makefile head/shells/zsh/files/pkg-message.in I've committed the change back in, and added an option, ETCDIR, to let people switch it back if they need to. Also added a pkg-message and an UPDATING entry about it. Johannes, I think I'm not going to merge it to quarterly. 2016Q3 will be branching very soon, and I'd like it to get vetted in latest first. Thanks to everyone involved for being so patient. |