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

Re: cdmatch installs where?



Owen M. Astley wrote:

> cdmatch is a function, and so needs to be in the $fpath search path,
> not the $path search list.

Ok, are there any reasons for keeping $path and $fpath different? Or would
it be ok to set fpath=$path?

That would help me out quite a lot because...

> Try making a directory ~/.zfunc, putting cdmatch in it and setting
> fpath=(~/.zfunc).

... I would be able to do this in a global directory (like /usr/local/etc)
to make the functions available for other users, too.

> btw: fpath may be set to this by default, I can't remember.

% echo $fpath

%

No, I do not think so.

	Roland



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