history: Add missing "--" for delete

Fixes #8853
This commit is contained in:
Fabian Homborg 2022-04-03 21:02:15 +02:00
parent 2f1a73754b
commit 84bd1715d8

View File

@ -119,7 +119,7 @@ function history --description "display or manipulate interactive command histor
end
if test $search_mode = --exact
builtin history delete $search_mode $_flag_case_sensitive $searchterm
builtin history delete $search_mode $_flag_case_sensitive -- $searchterm
return
end