Compare commits

...

3 Commits

Author SHA1 Message Date
Colin Kinloch d3f3193d9c
Merge 055c90f633 into 1d85c69261 2026-02-09 19:07:53 -05:00
Matthew Martin 1d85c69261 main: precommand_options += caffeinate
Closes #975
2026-02-08 10:49:40 -06:00
Colin Kinloch 055c90f633 main: Add systemd run0 equivalent to sudo 2024-09-25 12:15:36 +01:00
1 changed files with 2 additions and 0 deletions

View File

@ -354,6 +354,7 @@ _zsh_highlight_highlighter_main_paint()
'pkexec' '' # doesn't take short options; immune to #121 because it's usually not passed --option flags
# Not listed: -h, which has two different meanings.
'sudo' Cgprtu:AEHPSbilns:eKkVv # as of sudo 1.8.21p2
'run0' ugD:h # systemd 256.6
'stdbuf' ioe:
'eatmydata' ''
'catchsegv' ''
@ -372,6 +373,7 @@ _zsh_highlight_highlighter_main_paint()
'grc' :se # grc - a "generic colouriser" (that's their spelling, not mine)
'cpulimit' elp:ivz # cpulimit 0.2
'ktrace' fgpt:aBCcdiT
'caffeinate' tw:dimsu # as of macOS's caffeinate(8) dated November 9, 2012
)
# Commands that would need to skip one positional argument:
# flock