Add more conditionals to zsh
This commit is contained in:
+2
-1
@@ -6,7 +6,8 @@ header "^#!.*/(env +)?zsh( |$)"
|
|||||||
color brightyellow "\b[0-9]+\b"
|
color brightyellow "\b[0-9]+\b"
|
||||||
|
|
||||||
## Conditionals and control flow
|
## 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 "(\{|\}|\(|\)|\;|\]|\[|`|\\|\$|<|>|!|=|&|\|)"
|
color green "(\{|\}|\(|\)|\;|\]|\[|`|\\|\$|<|>|!|=|&|\|)"
|
||||||
## Conditional flags
|
## Conditional flags
|
||||||
color green "-[Ldefgruwx]\>"
|
color green "-[Ldefgruwx]\>"
|
||||||
|
|||||||
Reference in New Issue
Block a user