diff options
author | Megan Rogge <merogge@microsoft.com> | 2022-08-09 23:02:34 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-09 23:02:34 +0300 |
commit | 6d9b74a70ca9c7733b29f0456fd8195364076dda (patch) | |
tree | c02d6b0a1fa784b7235328f1162c1cfee82f5938 | |
parent | 1b309ef24479e62c005caab05a830992bd82ad88 (diff) |
fix typo (#157705)1.70.1
-rwxr-xr-x | src/vs/workbench/contrib/terminal/browser/media/shellIntegration-bash.sh | 3 |
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 |