mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-28 13:53:10 +00:00
710addde16
The recent change to reconcile the history builtin command and function broke an undocumented behavior of `history --delete`. This change reinstates that behavior. It also adds an explicit `--exact` search mode for the `--search` and `--delete` subcommands. Fixes #3270
13 lines
740 B
Text
13 lines
740 B
Text
empty history detected as expected
|
|
first history command detected as expected
|
|
invalid attempt at multiple history commands detected
|
|
history function explicit search succeeded
|
|
history function implicit search succeeded
|
|
history function implicit search with timestamps succeeded
|
|
history function explicit exact search 'echo goodbye' succeeded
|
|
history function explicit exact search 'echo hello' succeeded
|
|
history function explicit exact search 'echo hell' succeeded
|
|
history function explicit exact delete 'echo hello' succeeded
|
|
history function explicit prefix delete 'echo hello' succeeded
|
|
history function explicit exact search 'echo hello again' succeeded
|
|
history function explicit exact search 'echo hello AGAIN' failed to find the entry
|