From f47c34c539de0f8c7536a5906be8714e044f066d Mon Sep 17 00:00:00 2001 From: nl6720 Date: Sun, 7 Feb 2016 13:07:59 +0200 Subject: [PATCH] Add more conditionals to zsh --- zsh.nanorc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zsh.nanorc b/zsh.nanorc index 618b250..605bef3 100644 --- a/zsh.nanorc +++ b/zsh.nanorc @@ -6,7 +6,8 @@ header "^#!.*/(env +)?zsh( |$)" color brightyellow "\b[0-9]+\b" ## Conditionals and control flow -color green "\<(always|case|do|done|elif|else|esac|exit|fi|for|function|if|in|local|read|return|select|shift|then|time|until|while)\>" +color green "\<(always|break|bye|case|continue|disown|do|done|elif|else|esac|exit|fi|for|function|if|in|local|read|return|select|shift|then|time|until|while)\>" + color green "(\{|\}|\(|\)|\;|\]|\[|`|\\|\$|<|>|!|=|&|\|)" ## Conditional flags color green "-[Ldefgruwx]\>"