mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-14 05:53:59 +00:00
14 lines
411 B
Fish
14 lines
411 B
Fish
|
# Verify that specifying unexpected options or arguments results in an error.
|
||
|
# First with the history function.
|
||
|
history --clear --contains
|
||
|
history --merge -t
|
||
|
history --save xyz
|
||
|
# Now with the history builtin.
|
||
|
builtin history --save --prefix
|
||
|
builtin history --clear --with-time
|
||
|
builtin history --merge xyz
|
||
|
builtin history --clear abc def
|
||
|
|
||
|
# Now do a history command that should succeed.
|
||
|
builtin history --merge
|