프로젝트
GitHub에서 보기
joshskidmore/zsh-fzf-history-search
소개
Ctrl+R을 날짜와 시간이 표시되는 fzf 기반 선택 화면으로 대체하는 간단한 zsh 플러그인입니다.
기타 프로젝트측정된 스타 증가
- in 24h
- 0
- in 7 days
- +1
- in 15 days
- +2
- in 1 month
- 기록 수집 중
서로 겹치는 기간의 순증가량이며 일별 합계가 아닙니다. 측정값이 없으면 비워 둡니다. 스타는 관심도를 나타내며 품질을 보장하지 않습니다.
README.md
Originalzsh/fzf History Search

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)
zgenom
Add joshskidmore/zsh-fzf-history-search to your .zshrc file in the same function you're doing your other zgenom load calls in.
Zgenom will automatically clone the plugin repositories for you when you do a zgenom save.
sheldon
Add this to ~/.config/sheldon/plugins.toml:
[plugins.zsh-fzf-history-search]
github = 'joshskidmore/zsh-fzf-history-search'
and run sheldon lock to install the plugin.
Configuration Variables
| Variable | Default | Description |
|---|---|---|
ZSH_FZF_HISTORY_SEARCH_BIND |
'^r' |
Keybind to trigger fzf reverse search |
ZSH_FZF_HISTORY_SEARCH_FZF_ARGS |
'+s +m -x -e --preview-window=hidden' |
Arguments for fzf (might be updated, not recommended to override) |
ZSH_FZF_HISTORY_SEARCH_FZF_EXTRA_ARGS |
'' |
Extra arguments for fzf |
ZSH_FZF_HISTORY_SEARCH_FZF_QUERY_PREFIX |
'' |
Query prefix for fzf when $BUFFER is not empty. Set it to '^' to query history lines begin with $BUFFER |
ZSH_FZF_HISTORY_SEARCH_END_OF_LINE |
'' |
Put the cursor on at the end of the line after completion, empty=false |
ZSH_FZF_HISTORY_SEARCH_EVENT_NUMBERS |
1 |
Include event numbers in search. Set to 0 to remove event numbers from the search. |
ZSH_FZF_HISTORY_SEARCH_DATES_IN_SEARCH |
1 |
Include ISO8601 timestamps in search. Set to 0 to remove them from the search. |
ZSH_FZF_HISTORY_SEARCH_REMOVE_DUPLICATES |
'' |
Remove duplicate entries from search. Only makes sense with EVENT_NUMBERS and DATE_INSEARCH 0 (false). |
TODO
관련 프로젝트 살펴보기
불러오는 중…