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 e5ebc33 commit f527a32Copy full SHA for f527a32
bash-preexec.sh
@@ -202,7 +202,7 @@ __bp_preexec_invoke_exec() {
202
fi
203
204
local this_command
205
- this_command=$(HISTTIMEFORMAT= builtin history 1 | sed -E '1 s/^ *[0-9]+[* ] //')
+ this_command=$(HISTTIMEFORMAT= builtin history 1 | sed '1 s/^ *[0-9]\+[* ] //')
206
207
# Sanity check to make sure we have something to invoke our function with.
208
if [[ -z "$this_command" ]]; then
0 commit comments