Skip to content

Commit 398c7e5

Browse files
committed
1 parent cff4fe2 commit 398c7e5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,6 @@ function __preserve_fish_prompt --on-event fish_prompt
122122
end
123123
end
124124
end
125-
__preserve_fish_prompt
126125

127126
# Sent whenever a new fish prompt is about to be displayed.
128127
# Updates the current working directory.
@@ -164,11 +163,11 @@ function __init_vscode_shell_integration
164163
function fish_mode_prompt
165164
__vsc_fish_prompt_start
166165
__vsc_fish_mode_prompt
166+
__vsc_fish_cmd_start
167167
end
168168

169169
function fish_prompt
170170
__vsc_fish_prompt
171-
__vsc_fish_cmd_start
172171
end
173172
else
174173
# No fish_mode_prompt, so put everything in fish_prompt.
@@ -179,3 +178,4 @@ function __init_vscode_shell_integration
179178
end
180179
end
181180
end
181+
__preserve_fish_prompt

0 commit comments

Comments
 (0)