Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/m42e/zsh-histdb-fzf
A zsh histdb fzf integration
https://github.com/m42e/zsh-histdb-fzf
fzf history zsh zsh-histdb zsh-history
Last synced: about 2 months ago
JSON representation
A zsh histdb fzf integration
- Host: GitHub
- URL: https://github.com/m42e/zsh-histdb-fzf
- Owner: m42e
- License: mit
- Created: 2019-05-31T07:55:41.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2022-03-29T18:14:38.000Z (over 2 years ago)
- Last Synced: 2024-08-02T16:08:36.997Z (5 months ago)
- Topics: fzf, history, zsh, zsh-histdb, zsh-history
- Language: Shell
- Size: 43 KB
- Stars: 42
- Watchers: 4
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
**NB:** If you like this, you might want to have an implementation with a better performance: [zsh-histdb-skim](https://github.com/m42e/zsh-histdb-skim)
zsh-histdb-fzf
==============This addon uses fzf for searching the history kept with [zsh-histdb](https://github.com/larkery/zsh-histdb).
See the example here:
[![asciicast](https://asciinema.org/a/oRYb505aRW8exHWI6tzYPw0ww.svg)](https://asciinema.org/a/oRYb505aRW8exHWI6tzYPw0ww)
Activation
----------To enable the widget add the following binding to you zshrc
```zsh
bindkey '^R' histdb-fzf-widget
```Configuration
-------------- Date format: By default, the date format (`us` or `non-us`) is auto-detected based on your current locale settings
(see `LC_TIME`). You can override this by setting the environment variable `HISTDB_FZF_FORCE_DATE_FORMAT` to either
`us` or `non-us`.Logging
-------If a filename is set to `HISTDB_FZF_LOGFILE` some debug information will be appended to that file.