[Pkg-zsh-devel] Bug#620452: no place for packaged zsh libs
    Frank Terbeck 
    ft at bewatermyfriend.org
       
    Sun Apr 17 14:00:57 UTC 2011
    
    
  
Axel Beckert wrote:
> Frank Terbeck wrote:
>> 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).
[...]
> /usr/share/zsh/functions and /usr/local/share/zsh/functions
Okay then. We've discussed this a bit on IRC, and I've just sent a patch
to zsh-workers¹, which will let us do add
 --enable-additional-fpath=/usr/share/zsh/vendor-functions,/usr/share/zsh/vendor-completions
to our configure options and have
  /usr/share/zsh/vendor-functions
for functions installed by packages; and similarly
/usr/share/zsh/vendor-completions
for completions.
It'll work for every type of zsh (even in sh-mode) without touching any
package-supplied configuration files.
If the patch gets ACKed, we'll have it starting with version 4.3.12 of
zsh. Backporting the patch to 4.3.11 should be trivial.
Regards, Frank
¹ <http://www.zsh.org/mla/workers/2011/msg00444.html>
    
    
More information about the Pkg-zsh-devel
mailing list