From 20d1823d9032eb2df2e58a72bd694e973a4c4a10 Mon Sep 17 00:00:00 2001 From: Benno Schulenberg <bensberg@telfort.nl> Date: Tue, 27 Mar 2018 19:41:00 +0200 Subject: [PATCH] syntax: sh: uncolor "tar" when it's part of a filename --- syntax/sh.nanorc | 1 + 1 file changed, 1 insertion(+) diff --git a/syntax/sh.nanorc b/syntax/sh.nanorc index 000fb540..cf251858 100644 --- a/syntax/sh.nanorc +++ b/syntax/sh.nanorc @@ -13,6 +13,7 @@ color green "[{}():;|`$<>!=&\\]" "(\]|\[)" color green "-[Ldefgruwx]\>" color green "-(eq|ne|gt|lt|ge|le|s|n|z)\>" color brightblue "\<(awk|cat|cd|ch(grp|mod|own)|cp|cut|echo|env|grep|head|install|ln|make|mkdir|mv|popd|printf|pushd|rm|rmdir|sed|set|sort|tail|tar|touch|umask|unset)\>" +color normal "[.-]tar\>" # Basic variable names (no braces). color brightred "\$[-0-9@*#?$!]" "\$[[:alpha:]_][[:alnum:]_]*" -- GitLab