'main': Add some precommands.
This commit is contained in:
parent
e7d3fbc50b
commit
6647e88606
@ -311,12 +311,17 @@ _zsh_highlight_highlighter_main_paint()
|
|||||||
'exec' a:cl
|
'exec' a:cl
|
||||||
'nocorrect' ''
|
'nocorrect' ''
|
||||||
'noglob' ''
|
'noglob' ''
|
||||||
|
'time' ''
|
||||||
|
|
||||||
'doas' aCu:Lns # as of OpenBSD's doas(1) dated September 4, 2016
|
'doas' aCu:Lns # as of OpenBSD's doas(1) dated September 4, 2016
|
||||||
'nice' n: # as of current POSIX spec
|
'nice' n: # as of current POSIX spec
|
||||||
'pkexec' '' # doesn't take short options; immune to #121 because it's usually not passed --option flags
|
'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
|
'sudo' Cgprtu:AEHKPSVbhiklnsv # as of sudo 1.8.21p2
|
||||||
'stdbuf' ioe:
|
'stdbuf' ioe:
|
||||||
|
'eatmydata' ''
|
||||||
|
'catchsegv' ''
|
||||||
|
'nohup' ''
|
||||||
|
'setsid' :wc
|
||||||
)
|
)
|
||||||
|
|
||||||
if [[ $zsyh_user_options[ignorebraces] == on || ${zsyh_user_options[ignoreclosebraces]:-off} == on ]]; then
|
if [[ $zsyh_user_options[ignorebraces] == on || ${zsyh_user_options[ignoreclosebraces]:-off} == on ]]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user