Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: compinit, $fpath, and recursive searching.



In the last episode (Dec 09), Jason Price said:
> When I install zsh from source, if I set the $fpath to 
> 
>    fpath=( /usr/local/share/zsh/$ZSH_VERSION/functions )
> 
> it works right.

If you had left in zsh's default fpath elements, it would have worked
better:

fpath=( $fpath /more/fpath/paths )
 
> What are the appropriate setting(s) when you divide up the completion
> functions into directories?

If you have subdirs inside site-functions, or some other local
directory, just use a wildcard to enumerate them ( /primary/path/**/ ) .

The default value of $fpath on my s10b72 box is:

( /usr/sfw/share/zsh/site-functions
/usr/sfw/share/zsh/4.2.1/functions/Completion
/usr/sfw/share/zsh/4.2.1/functions/Completion/AIX
/usr/sfw/share/zsh/4.2.1/functions/Completion/BSD
/usr/sfw/share/zsh/4.2.1/functions/Completion/Base
/usr/sfw/share/zsh/4.2.1/functions/Completion/Cygwin
/usr/sfw/share/zsh/4.2.1/functions/Completion/Debian
/usr/sfw/share/zsh/4.2.1/functions/Completion/Linux
/usr/sfw/share/zsh/4.2.1/functions/Completion/Mandrake
/usr/sfw/share/zsh/4.2.1/functions/Completion/Redhat
/usr/sfw/share/zsh/4.2.1/functions/Completion/Unix
/usr/sfw/share/zsh/4.2.1/functions/Completion/X
/usr/sfw/share/zsh/4.2.1/functions/Completion/Zsh
/usr/sfw/share/zsh/4.2.1/functions/MIME
/usr/sfw/share/zsh/4.2.1/functions/Misc
/usr/sfw/share/zsh/4.2.1/functions/Prompts
/usr/sfw/share/zsh/4.2.1/functions/TCP
/usr/sfw/share/zsh/4.2.1/functions/Zftp
/usr/sfw/share/zsh/4.2.1/functions/Zle )


-- 
	Dan Nelson
	dnelson@xxxxxxxxxxxxxxx



Messages sorted by: Reverse Date, Date, Thread, Author