mirror of
https://github.com/scopatz/nanorc
synced 2024-11-30 13:45: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"
|
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]\>"
|
||||||
|
|
Loading…
Reference in New Issue
Block a user