Merge pull request #168452 from ookami-kb/patch-1

Update shellIntegration.fish to fix an error when communicating cwd
This commit is contained in:
Daniel Imms 2022-12-15 11:29:50 -08:00 committed by GitHub
commit 6d0d2dc6b3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -75,7 +75,7 @@ end
# Sent whenever a new fish prompt is about to be displayed.
# Updates the current working directory.
function __vsc_update_cwd --on-event fish_prompt
__vsc_esc P "Cwd=$(__vsc_escape_value "$PWD")"
__vsc_esc P Cwd=(__vsc_escape_value "$PWD")
# If a command marker exists, remove it.
# Otherwise, the commandline is empty and no command was run.