From ecba44470b7c8ada2047a177be6fc38f50e20e04 Mon Sep 17 00:00:00 2001 From: Samantaz Fox Date: Tue, 5 Oct 2021 15:30:34 +0200 Subject: [PATCH] Also highlight ${name%%pattern} in .sh files --- sh.nanorc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sh.nanorc b/sh.nanorc index febc22c..c418262 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:]]+$"