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.
1 parent 1b309ef commit 6d9b74aCopy full SHA for 6d9b74a
src/vs/workbench/contrib/terminal/browser/media/shellIntegration-bash.sh
@@ -126,7 +126,8 @@ if [[ -n "${bash_preexec_imported:-}" ]]; then
126
preexec_functions+=(__vsc_preexec_only)
127
else
128
__vsc_dbg_trap="$(trap -p DEBUG)"
129
- if [[ "$__vsc_db_trap" =~ .*\[\[.* ]]; then
+ if [[ "$__vsc_dbg_trap" =~ .*\[\[.* ]]; then
130
+ #HACK - is there a better way to do this?
131
__vsc_dbg_trap=${__vsc_dbg_trap#'trap -- '*}
132
__vsc_dbg_trap=${__vsc_dbg_trap%'DEBUG'}
133
0 commit comments