Fix bash integration cwd reporting missing hostname
This commit is contained in:
parent
4309aa1ace
commit
a765d551e4
1 changed files with 1 additions and 1 deletions
|
|
@ -157,7 +157,7 @@ _ksi_main() {
|
|||
# command like cd /test && cat. PS0 is evaluated before cd is run.
|
||||
if [[ "${_ksi_prompt[last_reported_cwd]}" != "$PWD" ]]; then
|
||||
_ksi_prompt[last_reported_cwd]="$PWD";
|
||||
builtin printf "\e]7;kitty-shell-cwd://%s%s\a" "$HOST" "$PWD"
|
||||
builtin printf "\e]7;kitty-shell-cwd://%s%s\a" "$HOSTNAME" "$PWD"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue