We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 59bcfc0 + efd17c6 commit 4711122Copy full SHA for 4711122
src/vs/workbench/contrib/terminal/browser/media/shellIntegration-bash.sh
@@ -328,10 +328,10 @@ __vsc_restore_exit_code() {
328
329
__vsc_prompt_cmd_original() {
330
__vsc_status="$?"
331
+ builtin local cmd
332
__vsc_restore_exit_code "${__vsc_status}"
333
# Evaluate the original PROMPT_COMMAND similarly to how bash would normally
334
# See https://unix.stackexchange.com/a/672843 for technique
- builtin local cmd
335
for cmd in "${__vsc_original_prompt_command[@]}"; do
336
eval "${cmd:-}"
337
done
0 commit comments