mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-12-18 20:53:40 +08:00
65dcd06ca1
Instead of treating the search term as a literal string to be matched treat it as a glob. This allows the user to get a more useful set of results by using the `*` glob character in the search term. Partial fix for #3136
14 lines
711 B
Plaintext
14 lines
711 B
Plaintext
empty history detected as expected
|
|
first history command detected as expected
|
|
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 glob search 'echo start*echo end' succeeded
|
|
history function explicit exact delete 'echo hello' succeeded
|
|
history function explicit prefix delete 'echo hello AGAIN' succeeded
|
|
history function explicit exact search 'echo hello again' succeeded
|
|
history[2] had the correct data
|