mirror of
https://github.com/scopatz/nanorc.git
synced 2024-10-18 02:06:40 -07:00
Add more conditionals to zsh
This commit is contained in:
parent
05f2fb449c
commit
f47c34c539
1 changed files with 2 additions and 1 deletions
|
|
@ -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]\>"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue