Skip to content

Commit 6647e88

Browse files
committed
'main': Add some precommands.
1 parent e7d3fbc commit 6647e88

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

highlighters/main/main-highlighter.zsh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -311,12 +311,17 @@ _zsh_highlight_highlighter_main_paint()
311311
'exec' a:cl
312312
'nocorrect' ''
313313
'noglob' ''
314+
'time' ''
314315

315316
'doas' aCu:Lns # as of OpenBSD's doas(1) dated September 4, 2016
316317
'nice' n: # as of current POSIX spec
317318
'pkexec' '' # doesn't take short options; immune to #121 because it's usually not passed --option flags
318319
'sudo' Cgprtu:AEHKPSVbhiklnsv # as of sudo 1.8.21p2
319320
'stdbuf' ioe:
321+
'eatmydata' ''
322+
'catchsegv' ''
323+
'nohup' ''
324+
'setsid' :wc
320325
)
321326

322327
if [[ $zsyh_user_options[ignorebraces] == on || ${zsyh_user_options[ignoreclosebraces]:-off} == on ]]; then

0 commit comments

Comments
 (0)