diff --git a/sh.nanorc b/sh.nanorc index febc22c6..c4182624 100644 --- a/sh.nanorc +++ b/sh.nanorc @@ -17,7 +17,7 @@ color brightblue "\<(alias|bg|bind|break|builtin|caller|cd|command|compgen|compl ## not buitins: ## cat|chmod|chown|cp|env|grep|install|ln|make|mkdir|mv|rm|sed|tar|touch icolor brightgreen "^\s+[0-9A-Z_]+\s+\(\)" -icolor brightred "\$\{?[0-9A-Z_!@#$*?-]+\}?" +icolor brightred "\$\{?[0-9A-Z_!@#%$*?-]+\}?" color brightyellow ""(\\.|[^"])*"" "'(\\.|[^'])*'" color cyan "(^|[[:space:]])#.*$" color ,green "[[:space:]]+$" diff --git a/zsh.nanorc b/zsh.nanorc index 4e77b369..95786670 100644 --- a/zsh.nanorc +++ b/zsh.nanorc @@ -28,7 +28,7 @@ color brightmagenta "\<(base(32|64)|basename|cat|chcon|chgrp|chmod|chown|chroot| icolor brightgreen "^\s+(function\s+)[0-9A-Z_]+\s+\(\)" ## Variables -icolor brightred "\$\{?[0-9A-Z_!@#$*?-]+\}?" +icolor brightred "\$\{?[0-9A-Z_!@#%$*?-]+\}?" ## Strings color yellow ""(\\.|[^"])*""