notify_on_cmd_finish: Show the actual command that was finished

Fixes #7420
This commit is contained in:
Kovid Goyal
2024-05-09 09:49:26 +05:30
parent c50e38a080
commit 0d68a21be5
9 changed files with 123 additions and 56 deletions

View File

@@ -88,7 +88,7 @@ function __ksi_schedule --on-event fish_prompt -d "Setup kitty integration after
function __ksi_mark_output_start --on-event fish_preexec
set --global __ksi_prompt_state pre-exec
echo -en "\e]133;C\a"
printf '\e]133;C;cmdline_url=%s\a' (string escape --style=url -- "$argv")
end
function __ksi_mark_output_end --on-event fish_postexec