2021-11-08 13:01:34 +00:00
|
|
|
# percol
|
2018-07-01 21:07:35 +00:00
|
|
|
|
2021-11-08 13:01:34 +00:00
|
|
|
Provides some useful function to make [percol](https://github.com/mooz/percol) work with zsh history and
|
|
|
|
the [jump plugin](https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/jump), optionally.
|
2018-07-01 21:07:35 +00:00
|
|
|
|
2021-11-08 13:01:34 +00:00
|
|
|
To use it, add `percol` to the plugins array in your zshrc:
|
2018-07-01 21:07:35 +00:00
|
|
|
|
2021-11-08 13:01:34 +00:00
|
|
|
```zsh
|
|
|
|
plugins=(... percol)
|
2018-07-01 21:07:35 +00:00
|
|
|
```
|
|
|
|
|
2021-11-08 13:01:34 +00:00
|
|
|
## Requirements
|
2018-07-01 21:07:35 +00:00
|
|
|
|
2021-11-08 13:01:34 +00:00
|
|
|
- `percol`: install with `pip install percol`.
|
2018-07-01 21:07:35 +00:00
|
|
|
|
2021-11-08 13:01:34 +00:00
|
|
|
- (_Optional_) [`jump`](https://github.com/ohmyzsh/ohmyzsh/tree/master/plugins/jump) plugin: needs to be
|
|
|
|
enabled before the `percol` plugin.
|
2018-07-01 21:07:35 +00:00
|
|
|
|
2021-11-08 13:01:34 +00:00
|
|
|
## Usage
|
2018-07-01 21:07:35 +00:00
|
|
|
|
2021-11-08 13:01:34 +00:00
|
|
|
- <kbd>CTRL-R</kbd> (bound to `percol_select_history`): you can use it to grep your history with percol.
|
2018-07-01 21:07:35 +00:00
|
|
|
|
2021-11-08 13:01:34 +00:00
|
|
|
- <kbd>CTRL-B</kbd> (bound to `percol_select_marks`): you can use it to grep your jump bookmarks with percol.
|