diff --git a/client/testdata/TestTimestampFormat-tquery b/client/testdata/TestTimestampFormat-tquery index cefa8b4..94b98da 100644 --- a/client/testdata/TestTimestampFormat-tquery +++ b/client/testdata/TestTimestampFormat-tquery @@ -3,4 +3,4 @@ Search Query: > -pipefail -tablesizing ┌──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┐ │ Hostname CWD Timestamp Runtime Exit Code Command │ │──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────│ -│ ghaction-runner-hostname ~/work/hishtory/hishtory 2024/Sep/28 12:21 N/A 0 \ No newline at end of file +│ ghaction-runner-hostname ~/work/hishtory/hishtory 2024/Sep/28 12:46 N/A 0 \ No newline at end of file diff --git a/client/testdata/TestTui-InitialInvalidSearch b/client/testdata/TestTui-InitialInvalidSearch index 52bd27f..ade044b 100644 --- a/client/testdata/TestTui-InitialInvalidSearch +++ b/client/testdata/TestTui-InitialInvalidSearch @@ -1,27 +1,29 @@ -Search Query: > ls +Warning: failed to search: search query contains unknown search atom 'foo' that doesn't match any column names + +Search Query: > foo:ls + + + + + + + + + + + + + + + + + + + + + + + + -┌────────────────────────────────────────────────────────────────────────────────────────────────────────┐ -│ Hostname CWD Timestamp Runtime Exit Code Command │ -│────────────────────────────────────────────────────────────────────────────────────────────────────────│ -│ localhost /tmp/ Oct 17 2022 21:43:16 PDT 3s 2 ls ~/ │ -│ │ -│ │ -│ │ -│ │ -│ │ -│ │ -│ │ -│ │ -│ │ -│ │ -│ │ -│ │ -│ │ -│ │ -│ │ -│ │ -│ │ -│ │ -│ │ -└────────────────────────────────────────────────────────────────────────────────────────────────────────┘ hiSHtory: Search your shell history • ctrl+h help \ No newline at end of file diff --git a/client/testdata/testCustomColumns-initHistory b/client/testdata/testCustomColumns-initHistory index 9319694..8d7917f 100644 --- a/client/testdata/testCustomColumns-initHistory +++ b/client/testdata/testCustomColumns-initHistory @@ -1,5 +1,4 @@ export FOOBAR='hello' echo $FOOBAR world -echo $FOOBAR world cd / echo baz diff --git a/client/testdata/testRemoveDuplicateRows-enabled-query b/client/testdata/testRemoveDuplicateRows-enabled-query index d517fce..dc86486 100644 --- a/client/testdata/testRemoveDuplicateRows-enabled-query +++ b/client/testdata/testRemoveDuplicateRows-enabled-query @@ -1,5 +1,6 @@ Exit Code Command 0 hishtory config-set filter-duplicate-commands true +0 hishtory tquery 0 hishtory config-set displayed-columns 'Exit Code' Command 0 echo foo 0 echo baz