From 52ea5c686aab9b37d88347e64d0fc4d12443d5d4 Mon Sep 17 00:00:00 2001 From: Daniel Shahaf Date: Mon, 17 Feb 2020 10:20:13 +0000 Subject: [PATCH] 'main': precommands += chronic, ifne (from moreutils) Fixes #681. --- highlighters/main/main-highlighter.zsh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/highlighters/main/main-highlighter.zsh b/highlighters/main/main-highlighter.zsh index 6af3f9d..a4ff7a1 100644 --- a/highlighters/main/main-highlighter.zsh +++ b/highlighters/main/main-highlighter.zsh @@ -327,7 +327,15 @@ _zsh_highlight_highlighter_main_paint() # suckless-tools v44 # Argumentless flags that can't be followed by a command: -v 'tabbed' gnprtTuU:cdfhs + + # moreutils 0.62-1 + 'chronic' :ev + 'ifne' :n + ) + # Commands that would need to skip one positional argument: + # flock + # ssh if [[ $zsyh_user_options[ignorebraces] == on || ${zsyh_user_options[ignoreclosebraces]:-off} == on ]]; then local right_brace_is_recognised_everywhere=false