Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: (one more) Completion question
- X-seq: zsh-users 1296
- From: Bruce Stephens <B.Stephens@xxxxxxxxx>
- To: Zsh users mailing list <zsh-users@xxxxxxxxxxxxxxx>
- Subject: Re: (one more) Completion question
- Date: Thu, 29 Jan 1998 13:22:56 +0000
- In-reply-to: Your message of "Thu, 29 Jan 1998 15:53:17 +0300." <Pine.SV4.3.95.980129153729.10712C-100000@itsrm1>
borsenkow.msk@xxxxxx said:
> Is it possible to reject current alt completion and move on to the
> next? That is, suppose with the following:
> compctl -S / -q -g '*(-/^D)' + -g '*(-/D)' + -K cdmatch cd
> if I happen to have zoo in current durectory, I would like to tell
> "no, I want zsh in ~/src"?
On a kind of related request. I use one of the cdmatch scripts, so that cd
(and pushd) complete to directories taking account of the possibility of
cdpath.
I'd like the completion to be a bit stickier: I quite often find myself
changing to some utterly uninteresting directory because there happens to be a
directory "~/src" or something, when what I really wanted was "srcs" under the
current directory (but of course I pressed Return too quickly).
It's not too annoying though (I can always use popd), and I'm not even sure
what behaviour I'd like, exactly. Perhaps the above requested behaviour would
work: I could have cd complete first to subdirectories of the current
directory, and only then to things under directories in cdpath?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author