updated README - install with oh-my-zsh
This commit is contained in:
18
README.md
18
README.md
@@ -8,7 +8,9 @@ A simple zsh plugin to replace `Ctrl-r` with an fzf-driven, searchable list of h
|
|||||||
## Requirements
|
## Requirements
|
||||||
* [fzf](https://github.com/junegunn/fzf)
|
* [fzf](https://github.com/junegunn/fzf)
|
||||||
|
|
||||||
## Installation with zinit
|
## Installation
|
||||||
|
|
||||||
|
### zinit
|
||||||
|
|
||||||
Add this to `~/.zshrc`:
|
Add this to `~/.zshrc`:
|
||||||
|
|
||||||
@@ -18,6 +20,20 @@ zinit ice lucid wait'0'
|
|||||||
zinit light joshskidmore/zsh-fzf-history-search
|
zinit light joshskidmore/zsh-fzf-history-search
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### oh-my-zsh
|
||||||
|
|
||||||
|
Clone the repository inside your oh-my-zsh repo:
|
||||||
|
|
||||||
|
``` sh
|
||||||
|
git clone https://github.com/joshskidmore/zsh-fzf-history-search ${ZSH_CUSTOM:=~/.oh-my-zsh/custom}/plugins/zsh-fzf-history-search
|
||||||
|
```
|
||||||
|
|
||||||
|
Enable it in your `.zshrc` by adding it to your plugin list:
|
||||||
|
|
||||||
|
```
|
||||||
|
plugins=(… zsh-fzf-history-search)
|
||||||
|
```
|
||||||
|
|
||||||
## TODO
|
## TODO
|
||||||
* use fzf's keybindings for additional functionality (remove specific history item, clear history, etc) while keeping plugin's simplicity in mind ([issue](https://github.com/joshskidmore/zsh-fzf-history-search/issues/10))
|
* use fzf's keybindings for additional functionality (remove specific history item, clear history, etc) while keeping plugin's simplicity in mind ([issue](https://github.com/joshskidmore/zsh-fzf-history-search/issues/10))
|
||||||
* better documentation ([issue](https://github.com/joshskidmore/zsh-fzf-history-search/issues/11))
|
* better documentation ([issue](https://github.com/joshskidmore/zsh-fzf-history-search/issues/11))
|
||||||
|
|||||||
Reference in New Issue
Block a user