Skip to content

Commit f80346a

Browse files
committed
shellIntegration.fish: escape the value of $PWD
1 parent c7b39b8 commit f80346a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/contrib/terminal/browser/media/shellIntegration.fish

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ end
6363
# Sent whenever a new fish prompt is about to be displayed.
6464
# Updates the current working directory.
6565
function __vsc_update_cwd --on-event fish_prompt
66-
__vsc_esc P "Cwd=$PWD"
66+
__vsc_esc P "Cwd=$(__vsc_escape_value "$PWD")"
6767
6868
# If a command marker exists, remove it.
6969
# Otherwise, the commandline is empty and no command was run.

0 commit comments

Comments
 (0)