Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Better Help Docs Searching?



On Sun, Aug 1, 2021 at 3:45 AM Zach Riggle <zachriggle@xxxxxxxxx> wrote:
>
> All of that said, is there any way to easily find keywords / flags in
> either the online docs OR the man pages -- rather than having way too
> many matches for other things that mention the same word (e.g. "read"
> as mentioned above).

Install either texinfo or the standalone info browser and use "info
zsh" (or "info -f Doc/zsh.info" if you are in the zsh build tree and
have run "make info").  Those findex() references etc. that you found
in the yodl files are there to create linked index nodes for "info".

You can also jump straight to individual entries from the command line, e.g.,

info --index-search=read zsh

As it happens "info zsh read" also goes directly to the "read" builtin
but that form prefers menu items to the index.




Messages sorted by: Reverse Date, Date, Thread, Author