Skip to content

Commit 52ea5c6

Browse files
committed
'main': precommands += chronic, ifne (from moreutils)
Fixes zsh-users#681.
1 parent dde84e1 commit 52ea5c6

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

highlighters/main/main-highlighter.zsh

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,15 @@ _zsh_highlight_highlighter_main_paint()
327327
# suckless-tools v44
328328
# Argumentless flags that can't be followed by a command: -v
329329
'tabbed' gnprtTuU:cdfhs
330+
331+
# moreutils 0.62-1
332+
'chronic' :ev
333+
'ifne' :n
334+
330335
)
336+
# Commands that would need to skip one positional argument:
337+
# flock
338+
# ssh
331339

332340
if [[ $zsyh_user_options[ignorebraces] == on || ${zsyh_user_options[ignoreclosebraces]:-off} == on ]]; then
333341
local right_brace_is_recognised_everywhere=false

0 commit comments

Comments
 (0)