[Pkg-zsh-devel] Bug#620452: no place for packaged zsh libs
Axel Beckert
abe at debian.org
Thu Apr 7 15:06:03 UTC 2011
Hi,
Frank Terbeck wrote:
> marc chantreux wrote:
> > I would like to make a zshlib-foo.deb file to install a zsh written
> > library in a path handled by the default $fpath.
> >
> > /usr/local/share/zsh/site-functions is for the local admin stuff.
> > /usr/share/zsh/functions/* are for stuff distributed with zsh.
Splitting up for vendor and local admin stuff sounds sane.
> > i would really appreciate to see a /usr/lib/zsh/functions to put my stuff in.
>
> This isn't as hard as I thought on IRC.
>
> I think we could just
>
> fpath+=( /foo/bar/baz )
>
> in `/etc/zsh/zshenv'.
>
> Because that file is sourced for *every* zsh instance that's ever
> started (except if zsh is invoked in sh-mode - but then sh-mode is so
> different that I don't care).
Hehe.
> We just need to decide what "/foo/bar/baz" is acceptable in terms of
> debian policy etc. So, any comments or suggestions? ...my knowledgeable
> debian-certified pkg-zsh colleagues? :-)
Will that directory contain any files which are compiled at build
time? If so, it should be
/usr/lib/zsh/functions and /usr/local/lib/zsh/functions
else
/usr/share/zsh/functions and /usr/local/share/zsh/functions
But I like that idea.
Regards, Axel
--
,''`. | Axel Beckert <abe at debian.org>, http://people.debian.org/~abe/
: :' : | Debian Developer, ftp.ch.debian.org Admin
`. `' | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE
`- | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5
More information about the Pkg-zsh-devel
mailing list