diff options
author | June McEnroe <june@causal.agency> | 2023-10-10 17:38:53 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2023-10-10 17:38:53 -0400 |
commit | baf6511fd64e747f2f5794b67bf55acc5d2a3c84 (patch) | |
tree | 222412c1a665fe2c1e9b62f4a5df18767aa6a8c7 /bin | |
parent | Add A Mirror Mended (diff) | |
download | src-baf6511fd64e747f2f5794b67bf55acc5d2a3c84.tar.gz src-baf6511fd64e747f2f5794b67bf55acc5d2a3c84.zip |
Highlight ksh scripts as sh
Diffstat (limited to '')
-rw-r--r-- | bin/hilex.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/hilex.c b/bin/hilex.c index 2289ef95..7d7b3f2d 100644 --- a/bin/hilex.c +++ b/bin/hilex.c @@ -53,7 +53,7 @@ static const struct { { &LexC, "c", "[.][chlmy]$", NULL }, { &LexMake, "make", "[.](mk|am)$|^Makefile$", NULL }, { &LexMdoc, "mdoc", "[.][1-9]$", "^[.]Dd" }, - { &LexSh, "sh", "[.]sh$|^[.](profile|shrc)$", "^#![ ]?/bin/sh" }, + { &LexSh, "sh", "[.]sh$|^[.](profile|shrc)$", "^#![ ]?/bin/k?sh" }, { &LexText, "text", "[.]txt$", NULL }, }; |