Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/microsoft/vscode.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMegan Rogge <merogge@microsoft.com>2022-08-09 23:02:34 +0300
committerGitHub <noreply@github.com>2022-08-09 23:02:34 +0300
commit6d9b74a70ca9c7733b29f0456fd8195364076dda (patch)
treec02d6b0a1fa784b7235328f1162c1cfee82f5938
parent1b309ef24479e62c005caab05a830992bd82ad88 (diff)
fix typo (#157705)1.70.1
-rwxr-xr-xsrc/vs/workbench/contrib/terminal/browser/media/shellIntegration-bash.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/vs/workbench/contrib/terminal/browser/media/shellIntegration-bash.sh b/src/vs/workbench/contrib/terminal/browser/media/shellIntegration-bash.sh
index c9c6dfa84ff..b39030f1a9d 100755
--- a/src/vs/workbench/contrib/terminal/browser/media/shellIntegration-bash.sh
+++ b/src/vs/workbench/contrib/terminal/browser/media/shellIntegration-bash.sh
@@ -126,7 +126,8 @@ if [[ -n "${bash_preexec_imported:-}" ]]; then
preexec_functions+=(__vsc_preexec_only)
else
__vsc_dbg_trap="$(trap -p DEBUG)"
- if [[ "$__vsc_db_trap" =~ .*\[\[.* ]]; then
+ if [[ "$__vsc_dbg_trap" =~ .*\[\[.* ]]; then
+ #HACK - is there a better way to do this?
__vsc_dbg_trap=${__vsc_dbg_trap#'trap -- '*}
__vsc_dbg_trap=${__vsc_dbg_trap%'DEBUG'}
else