[Pkg-zsh-devel] Bug#620452: no place for packaged zsh libs
Frank Terbeck
ft at bewatermyfriend.org
Sat Apr 2 07:23:45 UTC 2011
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.
>
> 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).
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? :-)
Regards, Frank
--
In protocol design, perfection has been reached not when there is
nothing left to add, but when there is nothing left to take away.
-- RFC 1925
More information about the Pkg-zsh-devel
mailing list