mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-22 22:04:26 +08:00

This deprecates the use of long options for history sub-commands (e.g., `history --delete`) in favor of proper sub-commands (e.g., `history delete`). It also eliminates the short options for those sub-commands. Also change option processing to allow options anywhere on the command line to match how the vast majority of fish builtins handle flags. Replace --with-time with --show-time. Fixes #3367
13 lines
686 B
Plaintext
13 lines
686 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 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
|