nano

nano with my custom patches
git clone git://bsandro.tech/nano
Log | Files | Refs | README | LICENSE

commit 20d1823d9032eb2df2e58a72bd694e973a4c4a10
parent e01bcddf160cc43e9a6e86c34df27ebbbce25931
Author: Benno Schulenberg <bensberg@telfort.nl>
Date:   Tue, 27 Mar 2018 19:41:00 +0200

syntax: sh: uncolor "tar" when it's part of a filename

Diffstat:
Msyntax/sh.nanorc | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git 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:]_]*"