Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: menu select suggestion
- X-seq: zsh-users 24350
- From: dana <dana@xxxxxxx>
- To: Perry Smith <pedz@xxxxxxxxxxxxxxxx>
- Subject: Re: menu select suggestion
- Date: Tue, 15 Oct 2019 19:25:33 -0500
- Cc: zsh-users@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dana-is.20150623.gappssmtp.com; s=20150623; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=kXZ1YdI+11CFQ8Qs1TF8KD0kIoxb/T6I/M4dXo71xqg=; b=qg7tIbpBOBfNahZqLdezNTWGHg3yjBKbIKi3HhBq98OoYGez27jhJITeT84aDC9UAG NqcPuvOBVoP18g/oKaO3/P4wd2ivk6KWvU+Ei0wr3r6WxpdpW4u3UWQdZbfco/2CUwQ5 vFWOoPLlZCORVUhNqow7YiYU2WhXGbsK31AAQLVeYSx6+58J0HNiYogoZjJyUDVW+yUz WTYQpa0tqg11c+AzWzbJhKcl/k7vgQWVDv1XtjK1N82beco2HL+vlOWRiZkQNdhodZta enDlBwK/qI3fenQPjxYQZ/BQjok7BRfBR2n+Mvjy1dhzO2r4mA1qUu74n0CCPokHoy3y U5CQ==
- In-reply-to: <1ACCA23A-15B5-4186-811A-3B4A5692C952@easesoftware.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-unsubscribe: <mailto:zsh-users-unsubscribe@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <1ACCA23A-15B5-4186-811A-3B4A5692C952@easesoftware.com>
On 15 Oct 2019, at 12:32, Perry Smith <pedz@xxxxxxxxxxxxxxxx> 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author