From: Roland Jesse <jesse@prinz-atm.CS.Uni-Magdeburg.De>
To: ZSH Users mailing list <zsh-users@math.gatech.edu>
Subject: cdmatch installs where?
Date: Sat, 29 Aug 1998 21:59:51 +0200 [thread overview]
Message-ID: <19980829215951.A5782@cs.uni-magdeburg.de> (raw)
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
next reply other threads:[~1998-08-29 20:06 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-08-29 19:59 Roland Jesse [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=19980829215951.A5782@cs.uni-magdeburg.de \
--to=jesse@prinz-atm.cs.uni-magdeburg.de \
--cc=zsh-users@math.gatech.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).