Use $PWD instead of pwd -P as we want the exact same cwd not the resolved one when cloning

This commit is contained in:
Kovid Goyal
2022-04-13 15:13:58 +05:30
parent c19e69855a
commit e187110611
2 changed files with 2 additions and 2 deletions

View File

@@ -356,7 +356,7 @@ _ksi_deferred_init() {
}
clone-in-kitty() {
builtin local data="pid=$$,cwd=$(builtin pwd -P | builtin command base64),env=$(builtin command env -0 | builtin command base64)"
builtin local data="pid=$$,cwd=$(builtin printf "%s" "$PWD" | builtin command base64),env=$(builtin command env -0 | builtin command base64)"
while :; do
case "$1" in
"") break;;