diff options
author | June McEnroe <june@causal.agency> | 2019-12-15 01:44:25 -0500 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2019-12-15 01:44:25 -0500 |
commit | d12ba62555f21583d758ce08c701858e3bdc847b (patch) | |
tree | 2c05928d11a27368808fa2722f2c907c35409f65 | |
parent | Add Exit Strategy (diff) | |
download | src-d12ba62555f21583d758ce08c701858e3bdc847b.tar.gz src-d12ba62555f21583d758ce08c701858e3bdc847b.zip |
Match .profile and .shrc as shell in hi
Diffstat (limited to '')
-rw-r--r-- | bin/hi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/hi.c b/bin/hi.c index 50ce9109..89ae325d 100644 --- a/bin/hi.c +++ b/bin/hi.c @@ -286,7 +286,7 @@ static const struct Language { { "make", "[.]mk$|^Makefile$", MakeSyntax, ARRAY_LEN(MakeSyntax) }, { "mdoc", "[.][1-9]$", MdocSyntax, ARRAY_LEN(MdocSyntax) }, { "rust", "[.]rs$", RustSyntax, ARRAY_LEN(RustSyntax) }, - { "sh", "[.]sh$", ShSyntax, ARRAY_LEN(ShSyntax) }, + { "sh", "[.]sh$|^[.](profile|shrc)$", ShSyntax, ARRAY_LEN(ShSyntax) }, { "text", "[.]txt$", NULL, 0 }, }; |