Author: "A simple zsh plugin to replace Ctrl-r with an fzf-driven, searchable list of history."
Go to file
kassadin 6ad924a5ad fix prompt
1. Completion lost prompt
2. Original input is lost when canceling
2021-09-10 16:19:36 +08:00
LICENSE add license 2020-08-21 23:01:21 -04:00
README.md updated README - install with oh-my-zsh 2021-09-03 18:30:13 +08:00
zsh-fzf-history-search.plugin.zsh feat: add *.plugin.zsh (backwards compatible) 2021-08-31 02:09:15 +02:00
zsh-fzf-history-search.zsh fix prompt 2021-09-10 16:19:36 +08:00

zsh/fzf History Search

zsh-fzf-history-search plugin screenshot

A simple zsh plugin to replace Ctrl-r with an fzf-driven, searchable list of history.

Pull requests always appreciated!

Requirements

Installation

zinit

Add this to ~/.zshrc:

# zsh-fzf-history-search
zinit ice lucid wait'0'
zinit light joshskidmore/zsh-fzf-history-search

oh-my-zsh

Clone the repository inside your oh-my-zsh repo:

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

  • use fzf's keybindings for additional functionality (remove specific history item, clear history, etc) while keeping plugin's simplicity in mind (issue)
  • better documentation (issue)