Skip to content

Commit 25a72f2

Browse files
committed
Move cmd start escape to end of prompt
Since the mode prompt 'appears to the left of the regular prompt', declaring that the start of the cmd causes the rest of the prompt to be part of the command.
1 parent 6bdf864 commit 25a72f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/contrib/terminal/browser/media/fish_xdg_data/fish/vendor_conf.d/shellIntegration.fish

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,11 +173,11 @@ function __init_vscode_shell_integration
173173
function fish_mode_prompt
174174
__vsc_fish_prompt_start
175175
__vsc_fish_mode_prompt
176-
__vsc_fish_cmd_start
177176
end
178177

179178
function fish_prompt
180179
__vsc_fish_prompt
180+
__vsc_fish_cmd_start
181181
end
182182
else
183183
# No fish_mode_prompt, so put everything in fish_prompt.

0 commit comments

Comments
 (0)