From 6647e8860698b8060eda3a2c5736c7718786743d Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Wed, 25 Dec 2019 10:53:42 +0000 Subject: [PATCH] 'main': Add some precommands. --- highlighters/main/main-highlighter.zsh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/highlighters/main/main-highlighter.zsh b/highlighters/main/main-highlighter.zsh index 2a2bfc9..4849181 100644 --- a/highlighters/main/main-highlighter.zsh +++ b/highlighters/main/main-highlighter.zsh @@ -311,12 +311,17 @@ _zsh_highlight_highlighter_main_paint() 'exec' a:cl 'nocorrect' '' 'noglob' '' + 'time' '' 'doas' aCu:Lns # as of OpenBSD's doas(1) dated September 4, 2016 'nice' n: # as of current POSIX spec 'pkexec' '' # doesn't take short options; immune to #121 because it's usually not passed --option flags 'sudo' Cgprtu:AEHKPSVbhiklnsv # as of sudo 1.8.21p2 'stdbuf' ioe: + 'eatmydata' '' + 'catchsegv' '' + 'nohup' '' + 'setsid' :wc ) if [[ $zsyh_user_options[ignorebraces] == on || ${zsyh_user_options[ignoreclosebraces]:-off} == on ]]; then