From: Bruce Stephens <B.Stephens@isode.com>
To: Zsh users mailing list <zsh-users@math.gatech.edu>
Subject: Re: (one more) Completion question
Date: Thu, 29 Jan 1998 13:22:56 +0000 [thread overview]
Message-ID: <199801291321.IAA21281@math.gatech.edu> (raw)
In-Reply-To: Your message of "Thu, 29 Jan 1998 15:53:17 +0300." <Pine.SV4.3.95.980129153729.10712C-100000@itsrm1>
borsenkow.msk@sni.de 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?
next prev parent reply other threads:[~1998-01-29 13:45 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
1998-01-29 12:53 Andrej Borsenkow
1998-01-29 13:22 ` Bruce Stephens [this message]
1998-01-29 16:04 ` Wessel Dankers
1998-01-29 16:22 ` Bruce Stephens
1998-01-29 20:09 Oliver Kiddle
1998-01-30 9:44 ` Andrew Main
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=199801291321.IAA21281@math.gatech.edu \
--to=b.stephens@isode.com \
--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).