set window title when running startup command in fish as well

This commit is contained in:
Kovid Goyal 2025-08-19 09:31:45 +05:30
parent b38b38d17d
commit fc142ff7eb
No known key found for this signature in database
GPG key ID: 06BC317B515ACE7C

View file

@ -204,6 +204,7 @@ function __ksi_schedule --on-event fish_prompt -d "Setup kitty integration after
or set --global --export --path PATH $new_path
end
if test -n "$krcs"
printf '\e]2;%s\a' (string replace -ra '[\x00-\x1F\x7F]' '' -- "$krcs")
eval "$krcs"
end
end