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 784b017 commit a7bc638Copy full SHA for a7bc638
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