We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c5878ae commit 54e1828Copy full SHA for 54e1828
highlighters/main/main-highlighter.zsh
@@ -453,6 +453,9 @@ _zsh_highlight_main_highlighter_highlight_list()
453
# - :sudo_arg: The argument to a precommand's leading-dash option,
454
# when given as a separate word; i.e., "foo" in "-u foo" (two
455
# words) but not in "-ufoo" (one word).
456
+ # Note: :sudo_opt: and :sudo_arg: are used for any precommand
457
+ # declared in ${precommand_options}, not just for sudo(8).
458
+ # The naming is historical.
459
# - :regular: "Not a command word", and command delimiters are permitted.
460
# Mainly used to detect premature termination of commands.
461
# - :always: The word 'always' in the «{ foo } always { bar }» syntax.
0 commit comments