From 4c5673dc4d0ea8917e05257d9a4305d4d8c08ee5 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Fri, 14 Jan 2022 22:35:37 +0530 Subject: [PATCH] Freeze _ksi_prompt to prevent it from being edited --- shell-integration/bash/kitty.bash | 2 ++ 1 file changed, 2 insertions(+) diff --git a/shell-integration/bash/kitty.bash b/shell-integration/bash/kitty.bash index 13259f7eb..df7068216 100644 --- a/shell-integration/bash/kitty.bash +++ b/shell-integration/bash/kitty.bash @@ -122,3 +122,5 @@ _ksi_main() { } _ksi_main unset -f _ksi_main +# freeze _ksi_prompt to prevent it from being changed +declare -r _ksi_prompt