From e82e2d042d55391e5c136c92ead4714db2d60b1a Mon Sep 17 00:00:00 2001
From: Matthew Martin <phy1729@gmail.com>
Date: Sun, 29 Oct 2023 12:50:08 -0500
Subject: [PATCH] main: precommand_options += ktrace

---
 changelog.md                           | 3 +++
 highlighters/main/main-highlighter.zsh | 1 +
 2 files changed, 4 insertions(+)

diff --git a/changelog.md b/changelog.md
index ee124d3..851a918 100644
--- a/changelog.md
+++ b/changelog.md
@@ -79,6 +79,9 @@ Whilst under development, the new implementation was known as the
 - Recognize `cpulimit` as a precommand
   [#897]
 
+- Recognize `ktrace` as a precommand
+
+
 # Changes in 0.8.0-alpha1-pre-redrawhook
 
 ## Notice about an improbable-but-not-impossible forward incompatibility
diff --git a/highlighters/main/main-highlighter.zsh b/highlighters/main/main-highlighter.zsh
index f691051..54938b7 100644
--- a/highlighters/main/main-highlighter.zsh
+++ b/highlighters/main/main-highlighter.zsh
@@ -372,6 +372,7 @@ _zsh_highlight_highlighter_main_paint()
     'ifne' :n # moreutils 0.62-1
     'grc' :se # grc - a "generic colouriser" (that's their spelling, not mine)
     'cpulimit' elp:ivz # cpulimit 0.2
+    'ktrace' fgpt:aBCcdiT
   )
   # Commands that would need to skip one positional argument:
   #    flock