Add README documentation for default-filter

This commit is contained in:
David Dworken 2024-06-13 21:36:24 -07:00
parent b323351731
commit 8f982a957d
No known key found for this signature in database

View File

@ -130,6 +130,17 @@ If you'd like to disable the Control+R integration in your shell, you can do so
</blockquote></details>
<details>
<summary>Custom search filters</summary><blockquote>
By default, hiSHtory query will show all results for your search query. But, it is possible to configure a default filter that will apply to all searches by default. For example, this can be used to configure hiSHtory to only show entries with an exit code of `0`:
```
hishtory config-set default-filter exit_code:0
```
</blockquote></details>
<details>
<summary>Filtering duplicate entries</summary><blockquote>