Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: cdmatch installs where?
- X-seq: zsh-users 1771
- From: "Owen M. Astley" <oma1000@xxxxxxxxx>
- To: ZSH Users mailing list <zsh-users@xxxxxxxxxxxxxxx>
- Subject: Re: cdmatch installs where?
- Date: Sat, 29 Aug 1998 22:08:23 +0100 (BST)
- In-reply-to: <19980829215951.A5782@xxxxxxxxxxxxxxxxxxx>
- Sender: Owen Astley <oma1000@xxxxxxxxxxxxx>
> # Another possibility for cd/pushd is to use it in conjunction with the
> # cdmatch function (in the Functions subdirectory of zsh distribution).
[snip other compctl example]
> Ok, I am not as much in the zsh details as might be necessary to totally
> get the idea of what is being done here. But even to me it is obvious that
> the cdmatch command (that does exist in the Functions subdir of the
> distribution) needs to be installed.
>
> My question is: Even when I copy cdmatch into $PREFIX/bin (what is in my
> search path), the above rule does not complete directory names by pressing
> the TAB key after a cd command.
cdmatch is a function, and so needs to be in the $fpath search path,
not the $path search list.
Try making a directory ~/.zfunc, putting cdmatch in it and setting
fpath=(~/.zfunc).
btw: fpath may be set to this by default, I can't remember.
Owen
Messages sorted by:
Reverse Date,
Date,
Thread,
Author