Compare commits

...

3 Commits

Author SHA1 Message Date
CharlesGueunet 2c704935f9
Merge 92bf311a64 into 1d85c69261 2026-02-10 13:23:42 +06:00
Matthew Martin 1d85c69261 main: precommand_options += caffeinate
Closes #975
2026-02-08 10:49:40 -06:00
Charles Gueunet 92bf311a64 Add a missing "$" on a variable usage 2022-12-14 10:02:19 +01:00
1 changed files with 2 additions and 1 deletions

View File

@ -372,6 +372,7 @@ _zsh_highlight_highlighter_main_paint()
'grc' :se # grc - a "generic colouriser" (that's their spelling, not mine) 'grc' :se # grc - a "generic colouriser" (that's their spelling, not mine)
'cpulimit' elp:ivz # cpulimit 0.2 'cpulimit' elp:ivz # cpulimit 0.2
'ktrace' fgpt:aBCcdiT '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: # Commands that would need to skip one positional argument:
# flock # flock
@ -1537,7 +1538,7 @@ _zsh_highlight_main_highlighter_highlight_double_quote()
(( i += 2 )) (( i += 2 ))
_zsh_highlight_main_highlighter_highlight_list $(( start_pos + i - 1 )) S $has_end $arg[i,-1] _zsh_highlight_main_highlighter_highlight_list $(( start_pos + i - 1 )) S $has_end $arg[i,-1]
ret=$? ret=$?
(( i += REPLY )) (( i += $REPLY ))
last_break=$(( start_pos + i )) last_break=$(( start_pos + i ))
reply=( reply=(
$saved_reply $saved_reply