mirror of
https://github.com/kovidgoyal/kitty
synced 2026-06-06 09:15:57 +02:00
Remove usage of the `-P` option from the print inside the `_ksi_precmd` and `_ksi_preexec` functions. Instead, the result of `builtin print -Pn "%m"` is stored in the local variable `hostname`. This mitigates accidental expansion of variables in the command to be executed. Fixes #8193.