From baf6511fd64e747f2f5794b67bf55acc5d2a3c84 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Tue, 10 Oct 2023 17:38:53 -0400 Subject: Highlight ksh scripts as sh --- bin/hilex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }, }; -- cgit 1.4.1