1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2025-10-14 15:49:09 +00:00

history-substring-search: add fuzzy and unique

This commit is contained in:
dllud
2023-05-19 16:41:29 +01:00
committed by Indrajit Raychaudhuri
parent 1b0cc0a219
commit bd180eec72
3 changed files with 32 additions and 0 deletions

View File

@@ -65,6 +65,24 @@ _`${ZDOTDIR:-$HOME}/.zpreztorc`_:
zstyle ':prezto:module:history-substring-search' globbing-flags ''
```
### Fuzzy search
To enable fuzzy search add the following line to
`${ZDOTDIR:-$HOME}/.zpreztorc`_:
```sh
zstyle ':prezto:module:history-substring-search' fuzzy 'yes'
```
### Unique results
To retrieve only unique results (remove duplicates) add the following line to
`${ZDOTDIR:-$HOME}/.zpreztorc`_:
```sh
zstyle ':prezto:module:history-substring-search' ensure-unique 'yes'
```
## Authors
_The authors of this module should be contacted via the [issue tracker][5]._