mirror of
https://github.com/scopatz/nanorc
synced 2024-12-28 16:04:53 +01:00
Add more conditionals to zsh
This commit is contained in:
parent
05f2fb449c
commit
f47c34c539
|
@ -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…
Reference in New Issue
Block a user