summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2023-10-10 17:38:53 -0400
committerJune McEnroe <june@causal.agency>2023-10-10 17:38:53 -0400
commitbaf6511fd64e747f2f5794b67bf55acc5d2a3c84 (patch)
tree222412c1a665fe2c1e9b62f4a5df18767aa6a8c7 /bin
parentAdd A Mirror Mended (diff)
downloadsrc-baf6511fd64e747f2f5794b67bf55acc5d2a3c84.tar.gz
src-baf6511fd64e747f2f5794b67bf55acc5d2a3c84.zip
Highlight ksh scripts as sh
Diffstat (limited to '')
-rw-r--r--bin/hilex.c2
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 },
 };