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 22ed3b2 + a7bc638 commit d6fd784Copy full SHA for d6fd784
src/vs/workbench/contrib/terminal/browser/media/shellIntegration-bash.sh
@@ -122,7 +122,7 @@ __vsc_preexec() {
122
# Use history if it's available to verify the command as BASH_COMMAND comes in with aliases
123
# resolved
124
if [ "$__vsc_history_verify" = "1" ]; then
125
- __vsc_current_command="$(builtin history 1 | sed -r 's/ *[0-9]+ +//')"
+ __vsc_current_command="$(builtin history 1 | sed 's/ *[0-9]* *//')"
126
else
127
__vsc_current_command=$BASH_COMMAND
128
fi
0 commit comments