diff --git a/shell-integration/bash/kitty.bash b/shell-integration/bash/kitty.bash index 0e006c066..3daae7a27 100644 --- a/shell-integration/bash/kitty.bash +++ b/shell-integration/bash/kitty.bash @@ -86,7 +86,7 @@ _ksi_main() { builtin unset KITTY_SHELL_INTEGRATION _ksi_debug_print() { - # print a line to STDOUT of parent kitty process + # print a line to STDERR of parent kitty process builtin local b b=$(builtin command base64 <<< "${@}") builtin printf "\eP@kitty-print|%s\e\\" "${b//[[:space:]]}}" diff --git a/shell-integration/zsh/kitty-integration b/shell-integration/zsh/kitty-integration index 131a9b072..878efb0f3 100644 --- a/shell-integration/zsh/kitty-integration +++ b/shell-integration/zsh/kitty-integration @@ -61,7 +61,7 @@ typeset -gi _ksi_fd } } 2>/dev/null || (( _ksi_fd = 1 )) -# Asks kitty to print $@ to its STDOUT. This is for debugging. +# Asks kitty to print $@ to its STDERR. This is for debugging. _ksi_debug_print() { builtin local data data=$(builtin command base64 <<<"${(j: :)@}") || builtin return