fish-shell/tests/history.in
2016-09-09 19:23:06 -07:00

13 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