Add more conditionals to zsh

This commit is contained in:
nl6720 2016-02-07 13:07:59 +02:00
parent 05f2fb449c
commit f47c34c539

View File

@ -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]\>"