From c9935112c8b66e23d2acd7584fecd8e99a281b14 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 25 Apr 2011 12:22:55 -0400 Subject: .compizsnap, .nanorc Track .compizsnap/* files (hurpdurp), only tracked the directory before. Use *.nanorc files from the nano 2.2.6 distribution. --- share/nano/sh.nanorc | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 share/nano/sh.nanorc (limited to 'share/nano/sh.nanorc') diff --git a/share/nano/sh.nanorc b/share/nano/sh.nanorc new file mode 100644 index 0000000..ecce22e --- /dev/null +++ b/share/nano/sh.nanorc @@ -0,0 +1,14 @@ +## Here is an example for Bourne shell scripts. +## +syntax "sh" "\.sh$" +header "^#!.*/(ba|k|pdk)?sh[-0-9_]*" +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:]]+$" -- cgit v1.2.3-2-g168b