* scrollable list of completions
@ 2006-08-19 10:06 Vincent Lefevre
2006-08-19 18:13 ` Bart Schaefer
0 siblings, 1 reply; 2+ messages in thread
From: Vincent Lefevre @ 2006-08-19 10:06 UTC (permalink / raw)
To: zsh-users
By defaut, if I type a[TAB], I get:
zsh: do you wish to see all 140 possibilities (47 lines)?
I can choose 'y', but all the completions are output, even if they
don't fit on the screen. I'd like to have a scrollable list of
completions. I can use:
zstyle ':completion:*' list-prompt ''
for that, but then, I no longer get the above question. How can I
have both?
TIA,
--
Vincent Lefèvre <vincent@vinc17.org> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / SPACES project at LORIA
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: scrollable list of completions
2006-08-19 10:06 scrollable list of completions Vincent Lefevre
@ 2006-08-19 18:13 ` Bart Schaefer
0 siblings, 0 replies; 2+ messages in thread
From: Bart Schaefer @ 2006-08-19 18:13 UTC (permalink / raw)
To: zsh-users
On Aug 19, 12:06pm, Vincent Lefevre wrote:
}
} How can I have both?
As far as I can tell, you can't. The test for whether to print that
prompt or invoke scrolling is deep in the C code after the shell
functions have given up control. You can hook in at the comppostfuncs
to ask the question yourself, but at that point it appears to be too
late to prevent the list from being printed anyway.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-08-19 18:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-19 10:06 scrollable list of completions Vincent Lefevre
2006-08-19 18:13 ` 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).