As requested in gentoo-dev: Testing zsh-4.0.6. GCC-3.2(gentoo-1.4_beta) The emerge finished successfully and I'm using zsh in a local user account. I noticed that example zsh profiles are provided in /etc/zsh, but nothing is set up to inherit the system wide Gentoo profiles. I don't have experience with previous zsh releases, so I don't know if Gentoo is providing the same system wide settings as for bash and tcsh?
good question
I found some errors: ==== mkdir /usr/share/zsh ACCESS DENIED mkdir: /usr/share/zsh mkdir: cannot create directory `/usr/share/zsh': Permission denied chmod: failed to get attributes of `/usr/share/zsh': No such file or directory mkdir /usr/share/zsh/site-functions ACCESS DENIED mkdir: /usr/share/zsh/site-functions mkdir: cannot create directory `/usr/share/zsh/site-functions': Permission denied chmod: failed to get attributes of `/usr/share/zsh/site-functions': No such file or directory ==== How about this patch? --- zsh-4.0.6.ebuild.orig Thu Aug 29 11:25:05 2002 +++ zsh-4.0.6.ebuild Thu Aug 29 11:25:13 2002 @@ -21,7 +21,8 @@ --enable-zshenv=/etc/zsh/zshenv \ --enable-zshlogin=/etc/zsh/zshlogin \ --enable-zshrc=/etc/zsh/zshrc \ - --enable-fndir=/usr/share/zsh \ + --enable-fndir=/usr/share/zsh/${PV}/functions \ + --enable-site-fndir=/usr/share/zsh/site-functions \ --enable-function-subdirs || die "configure failed" # emake still b0rks make || die "make failed" @@ -32,7 +33,8 @@ einstall \ bindir=${D}/bin \ libdir=${D}/usr/lib \ - fndir=${D}/usr/share/zsh \ + fndir=${D}/usr/share/zsh/${PV}/functions \ + sitefndir=${D}/usr/share/zsh/site-functions \ install.bin install.man install.modules \ install.info install.fns || die "make install failed" @@ -41,6 +43,4 @@ dodoc StartupFiles/z* dodir /etc/zsh cp ${S}/StartupFiles/z* ${D}/etc/zsh - - rm -rf ${D}/share }
Is this bug still needed? I'm running zsh-4.06 for quite some time now, but i never had any problems with it. okay to close it? -phoen][x-
If you want to close this issue, that's fine with me. So I guess no Gentoo customized profiles for zsh, like they are available for bash and tcsh? Thank you for your support!
I'm not much into zsh (only using it). The fact that the current files in /etc/zsh all say "DO NOT USE THIS AS /etc/foo" makes me think that we should not use them as templates (anyways, the "return 0" would be quite annoying ;)). So lets look for nice standard configs - i have my own config over here, but i dont think that most guys would like it. Do you have clean and nice templates for me? -phoen][x-
Actually, I'm not a zsh user. There was a need for testers for the new zsh ebuild, and I just wanted to contribute. Technically it's all working fine, but I noticed the absence of gentoo profiles. ;-) I guess there is not much of a need for those files in the Gentoo community, otherwise you would see more requests, so you can do yourself a favor and close this test case.
Okay, closing this one - sorry for the delay. -phoen][x-