zsh-autocomplete icon indicating copy to clipboard operation
zsh-autocomplete copied to clipboard

Print current option help

Open tobiasBora opened this issue 3 months ago • 0 comments

What do you want?

Sometimes, I'm not sure whether I'm typing the good option, say that I don't remember what ls -X does exactly. I would like to read the doc in the first entry of the help menu… unfortunately the typed option does not appear at all in the help menu:

image

Similarly, I'm not sure to understand why, but the list of options that is printed if I just type - is much smaller than the list of options that I can get if I type first a dummy entry like -A:

Peek 27-03-2024 20-37

Why do you want this?

Poor memory?

Who else would benefit from this?

I guess many people.

How should it work?

When I type -, it should print all available options (like what happens with the MORE thing when I typed a character), and if I type -X or --someoptions, the option I just typed should appear first in the option list so that I can read its documentation.

tobiasBora avatar Mar 27 '24 19:03 tobiasBora