mirror of
https://github.com/ddworken/hishtory.git
synced 2024-12-28 09:48:59 +01:00
Add README documentation for default-filter
This commit is contained in:
parent
b323351731
commit
8f982a957d
11
README.md
11
README.md
@ -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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user