diff options
author | Justin Patera <serialhex@gmail.com> | 2011-06-05 22:51:00 +0400 |
---|---|---|
committer | Justin Patera <serialhex@gmail.com> | 2011-06-05 22:51:00 +0400 |
commit | bf4f2e23c4c888c289b21abb1e925c37d3487fa3 (patch) | |
tree | 648a06b48d8b595c1a310059561699f3fddecd34 /sh.nanorc |
initil commit, mostly not my stuff, read the README for attribution
Diffstat (limited to 'sh.nanorc')
-rw-r--r-- | sh.nanorc | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/sh.nanorc b/sh.nanorc new file mode 100644 index 0000000..f540f1b --- /dev/null +++ b/sh.nanorc @@ -0,0 +1,13 @@ +## Here is an example for Bourne shell scripts. +## +syntax "sh" "\.sh$" +icolor brightgreen "^[0-9A-Z_]+\(\)" +color green "\<(case|do|done|elif|else|esac|exit|fi|for|function|if|in|local|read|return|select|shift|then|time|until|while)\>" +color green "(\{|\}|\(|\)|\;|\]|\[|`|\\|\$|<|>|!|=|&|\|)" +color green "-[Ldefgruwx]\>" +color green "-(eq|ne|gt|lt|ge|le|s|n|z)\>" +color brightblue "\<(cat|cd|chmod|chown|cp|echo|env|export|grep|install|let|ln|make|mkdir|mv|rm|sed|set|tar|touch|umask|unset)\>" +icolor brightred "\$\{?[0-9A-Z_!@#$*?-]+\}?" +color cyan "(^|[[:space:]])#.*$" +color brightyellow ""(\\.|[^"])*"" "'(\\.|[^'])*'" +color ,green "[[:space:]]+$" |