mirror of
https://github.com/fish-shell/fish-shell
synced 2024-11-10 23:24:39 +00:00
history: implement exact matching by default for delete
Brings behaviour into line with documented and intended behaviour. Closes #6070.
This commit is contained in:
parent
8b84f4f117
commit
54ed2ad440
1 changed files with 1 additions and 1 deletions
|
@ -109,7 +109,7 @@ function history --description "display or manipulate interactive command histor
|
|||
end
|
||||
|
||||
test -z "$search_mode"
|
||||
and set search_mode "--contains"
|
||||
and set search_mode "--exact"
|
||||
|
||||
if test $search_mode = "--exact"
|
||||
builtin history delete $search_mode $_flag_case_sensitive $searchterm
|
||||
|
|
Loading…
Reference in a new issue