From: dana <dana@dana.is>
To: Perry Smith <pedz@easesoftware.com>
Cc: zsh-users@zsh.org
Subject: Re: menu select suggestion
Date: Tue, 15 Oct 2019 19:25:33 -0500 [thread overview]
Message-ID: <31896CB0-DB88-45F0-9FE3-B90685BC2D29@dana.is> (raw)
In-Reply-To: <1ACCA23A-15B5-4186-811A-3B4A5692C952@easesoftware.com>
On 15 Oct 2019, at 12:32, Perry Smith <pedz@easesoftware.com> wrote:
> Is there a section in the man pages or the manual that describes the
> various user interfaces?
The completion documentation is spread across several different pages.
zshoptions describes the shell options that control completion (you may be
interested in menu_complete, which affects the tab behaviour you mentioned):
http://zsh.sourceforge.net/Doc/Release/Options.html#Completion-2
zshcompsys describes the styles (settings) that control completion, including
the `menu` one you mentioned (try Ctrl+F `menu completion`), amongst other
things:
http://zsh.sourceforge.net/Doc/Release/Completion-System.html
zshmodules describes the zsh/complist module, which provides some of the
fancier completion functionality (including menu selection):
http://zsh.sourceforge.net/Doc/Release/Zsh-Modules.html#The-zsh_002fcomplist-Module
Those three probably answer whatever questions you have about the actual UI,
but there are also a few others:
zshcompwid describes how compadd and widgets work:
http://zsh.sourceforge.net/Doc/Release/Completion-Widgets.html
zshzle describes ZLE, which is the line editor that handles key bindings and
widget definitions:
http://zsh.sourceforge.net/Doc/Release/Zsh-Line-Editor.html#Zsh-Line-Editor
zshcompctl describes the old completion system (compctl). You should never use
this, so i won't bother linking it, but if you come across it in your studies,
that's what it is.
The complex nature of the documentation reflects the fact that the completion
system is spread across several different components, and the way they all fit
together, and the terminology they use, can be confusing. For example, AFAIK,
the menu_complete option doesn't really have anything to do with the menu
completion we're talking about here, and menu selection is yet another thing.
I definitely can't claim to understand all of it myself
dana
prev parent reply other threads:[~2019-10-16 0:26 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-10-15 17:32 Perry Smith
2019-10-16 0:25 ` dana [this message]
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=31896CB0-DB88-45F0-9FE3-B90685BC2D29@dana.is \
--to=dana@dana.is \
--cc=pedz@easesoftware.com \
--cc=zsh-users@zsh.org \
/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).