Skip to content

Commit 3879c72

Browse files
committed
Also set __vsc_status when there are no traps
1 parent 3972e8e commit 3879c72

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/vs/workbench/contrib/terminal/browser/media/shellIntegration-bash.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,7 @@ __vsc_prompt_cmd_original() {
178178
}
179179

180180
__vsc_prompt_cmd() {
181+
__vsc_status="$?"
181182
__vsc_precmd
182183
}
183184

0 commit comments

Comments
 (0)