When writing a command with a -
option and pressing tab, a list of possible completions with short explanations of what the options do is displayed. Is there a way to make this list also contain the currently typed option?
E.g., writing grep -r
and hitting tab displays
-rA (Print NUM lines of trailing context)
-ra (Process binary file as text)
-rB (Print NUM lines of leading context)
-rb (Print byte offset of matches)
…and 32 more rows
but I would like it to display
-r (Read files under each directory, recursively)
-rA (Print NUM lines of trailing context)
-ra (Process binary file as text)
-rB (Print NUM lines of leading context)
-rb (Print byte offset of matches)
…and 32 more rows
Cheers,
Hassanbot