Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Announce of Zsh Navigation Tools
On Sat, Sep 12, 2015 at 5:41 PM, Ray Andrews <rayandrews@xxxxxxxxxxx> wrote:
> I mean just ...
>
> /usr/local/share/zsh/site-functions
> /usr/share/zsh/vendor-functions
> /usr/share/zsh/vendor-completions
> /usr/share/zsh/functions/Calendar
> /usr/share/zsh/functions/Chpwd
> /usr/share/zsh/functions/Completion
(etc.)
This is a result of a "configure"-time option set by whoever built the
zsh package for your software package manager. For me, it's:
zsh -fc 'print $ZSH_VERSION $fpath'
5.1.1 /usr/local/share/zsh/site-functions /usr/local/share/zsh/5.1.1/functions
> ... one might imagine some shorthand '/usr/share/zsh/functions/**/'
One might, but then the handling of $fpath would be inconsistent with
$path, $module_path, $manpath, etc.; and more importantly, the order
of entries in the array is signficant in case the same file name (with
different implementation) appears in more than one directory.
> ... it's a bit easier on the eye.
You're not really ever intended to need to read that list once you've
assigned it.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author