From: "Nikolai Weibull" <now@bitwi.se>
To: "Zsh Users' List" <zsh-users@sunsite.dk>
Subject: Is there a way to do an automatic list-choices after successful completion of directory name?
Date: Fri, 7 Jul 2006 20:29:21 +0200 [thread overview]
Message-ID: <dbfc82860607071129u27fff7e2l827d3e2bc62fbfd1@mail.gmail.com> (raw)
I would like list-choices to be run whenever I have completed a
directory name, e.g.,
$ cd ~/p<Tab>
completes to
$ cd ~/projects/
Once completed, I'd like list-choices to be called so that I can see
what directories I have under ~/projects immediately, instead of
having to type another <Tab> right after the first one.
I assume I'll have to write my own completer that I'll bind <Tab> to
that first does a call to _complete somehow, but how do I then tell if
a directory name is what has been completed?
Thanks.
nikolai
next reply other threads:[~2006-07-07 18:29 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-07-07 18:29 Nikolai Weibull [this message]
2006-07-09 15:36 ` Nikolai Weibull
2006-07-09 17:28 ` Bart Schaefer
2006-07-09 18:03 ` Nikolai Weibull
2006-07-09 18:15 ` Bart Schaefer
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=dbfc82860607071129u27fff7e2l827d3e2bc62fbfd1@mail.gmail.com \
--to=now@bitwi.se \
--cc=zsh-users@sunsite.dk \
/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).