mirror of
https://github.com/scopatz/nanorc
synced 2024-11-27 02:45:39 +01:00
Add files via upload
[t]csh added
This commit is contained in:
parent
8ce26e04a0
commit
45bd12d619
16
csh.nanorc
16
csh.nanorc
@ -1 +1,15 @@
|
||||
#
|
||||
## Here is an example for c-shell scripts.
|
||||
##
|
||||
syntax "CSH" "\.csh$" "\.tcshrc" "\.cshrc" "\.login" "\.logout" "\.history"
|
||||
header "^#!.*/(env +)?(t)?csh( |$)"
|
||||
|
||||
color green "\<(break|breaksw|case|continue|default|else|end|endif|endsw|exec|exit|foreach|goto|if|repeat|shift|switch|then|while)\>"
|
||||
color green "(\{|\}|\(|\)|\;|\]|\[|`|\\|\$|<|>|!|=|&|\|)"
|
||||
color green "-[rfuMZwdgAUxlkebtAGoczpPsS]\>"
|
||||
color green "-(A\:|M\:|U\:|G\:)\>"
|
||||
color brightblue "\<(alias|bindkey|cat|cd|chmod|chown|complete|cp|echo|env|grep|install|ln|make|mkdir|mv|printenv|rm|sed|set|setenv|tar|touch|umask|unalias|uncomplete|unset|unsetenv)\>"
|
||||
icolor brightgreen "^\s+[0-9A-Z_]+\s+\(\)"
|
||||
icolor brightred "\$\{?[0-9A-Z_!@#$*?-]+\}?"
|
||||
color brightyellow ""(\\.|[^"])*"" "'(\\.|[^'])*'"
|
||||
color cyan "(^|[[:space:]])#.*$"
|
||||
color ,green "[[:space:]]+$"
|
||||
|
Loading…
Reference in New Issue
Block a user