From 33abd31d1a6945c6de2a6be8f39967568bebae63 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sun, 27 Feb 2022 10:48:52 +0530 Subject: [PATCH] ... --- shell-integration/bash/kitty.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell-integration/bash/kitty.bash b/shell-integration/bash/kitty.bash index 4a283716a..d3437b6ac 100644 --- a/shell-integration/bash/kitty.bash +++ b/shell-integration/bash/kitty.bash @@ -139,7 +139,7 @@ _ksi_main() { last_cmd=$(HISTTIMEFORMAT= builtin history 1) last_cmd="${last_cmd#*[[:digit:]]*[[:space:]]}" # remove leading history number last_cmd="${last_cmd#"${last_cmd%%[![:space:]]*}"}" # remove remaining leading whitespace - last_cmd=$(printf "%s" "$last_cmd" | base64) + last_cmd=$(builtin printf "%s" "$last_cmd" | base64) builtin printf "\e]22222;%s\a" "${last_cmd//[[:space:]]}" } _ksi_prompt[ps0_suffix]+='$(_ksi_get_current_command)'