zsh-users
 help / color / mirror / code / Atom feed
* cdmatch installs where?
@ 1998-08-29 19:59 Roland Jesse
  1998-08-29 21:08 ` Owen M. Astley
  0 siblings, 1 reply; 5+ messages in thread
From: Roland Jesse @ 1998-08-29 19:59 UTC (permalink / raw)
  To: ZSH Users mailing list

Hello,

I just upgraded zsh on my private machine from 3.05 to 3.1.4. Everything
seems to work just fine. But what is kind of annoying, is the fact that
the completion for the cd command does not work (it does not complete the
directory names when pressing TAB).

I do have:

compctl -g '*(-/)' cd pushd

in my $HOME/.zcompctl and as long as this is the only rule specifying the
cd completion, everything works just fine.

But right after that comes:

# Another possibility for cd/pushd is to use it in conjunction with the
# cdmatch function (in the Functions subdirectory of zsh distribution).
if [[ -o AUTO_REMOVE_SLASH ]] then
    compctl -x 'p[2]' -Q -K cdmatch2 - 'S[/][~][./][../]' -g '*(-/)' + \
        -g '*(-/D)' - 'n[-1,/], s[]' -K cdmatch -q -S '/' -- cd pushd
else
    compctl -x 'p[2]' -Q -K cdmatch2 - 'S[/][~][./][../]' -g '*(-/)' + \
        -g '*(-/D)' - 'n[-1,/], s[]' -K cdmatch -S '/' -- cd pushd
fi

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.

As usual are any hints pointing in the right direction appreciated.

	Roland

P.S.: zsh compiles and runs just fine out of the box on FreeBSD (2.2.7). 
If the person who is responsible for the Etc/MACHINES file could include
that, that would be great. 

	Roland


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~1998-08-30  8:18 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1998-08-29 19:59 cdmatch installs where? Roland Jesse
1998-08-29 21:08 ` Owen M. Astley
1998-08-29 21:49   ` Roland Jesse
1998-08-29 22:36   ` Bart Schaefer
1998-08-30  8:11     ` Roland Jesse

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).