zsh-users
 help / color / mirror / code / Atom feed
* Is there a way to do an automatic list-choices after successful completion of directory name?
@ 2006-07-07 18:29 Nikolai Weibull
  2006-07-09 15:36 ` Nikolai Weibull
  0 siblings, 1 reply; 5+ messages in thread
From: Nikolai Weibull @ 2006-07-07 18:29 UTC (permalink / raw)
  To: Zsh Users' List

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


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

end of thread, other threads:[~2006-07-09 18:15 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-07 18:29 Is there a way to do an automatic list-choices after successful completion of directory name? Nikolai Weibull
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

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).