Skip to content

Commit

Permalink
...
Browse files Browse the repository at this point in the history
  • Loading branch information
kovidgoyal committed Jan 6, 2025
1 parent da3bb0a commit ac4bb28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shell-integration/zsh/kitty-integration
Original file line number Diff line number Diff line change
Expand Up @@ -268,9 +268,9 @@ _ksi_deferred_init() {

if [[ "$is_ssh_session" == "y" ]]; then
functions[_ksi_precmd]+="
builtin print -rnu $_ksi_fd \$'\\e]2;'\"\${(V)${HOST-}/%.*/}: \${(%):-%(4~|…/%3~|%~)}\"\$'\\a'"
builtin print -rnu $_ksi_fd \$'\\e]2;'\"\${(V)\${HOST-}/%.*/}: \${(%):-%(4~|…/%3~|%~)}\"\$'\\a'"
functions[_ksi_preexec]+="
builtin print -rnu $_ksi_fd \$'\\e]2;'\"\${(V)${HOST-}/%.*/}: \${(V)1}\"\$'\\a'"
builtin print -rnu $_ksi_fd \$'\\e]2;'\"\${(V)\${HOST-}/%.*/}: \${(V)1}\"\$'\\a'"
else
functions[_ksi_precmd]+="
builtin print -rnu $_ksi_fd \$'\\e]2;'\"\${(%):-%(4~|…/%3~|%~)}\"\$'\\a'"
Expand Down

0 comments on commit ac4bb28

Please sign in to comment.