zsh-histdb-fzf
zsh-histdb-fzf copied to clipboard
A zsh histdb fzf integration
NB: If you like this, you might want to have an implementation with a better performance: zsh-histdb-skim
zsh-histdb-fzf
This addon uses fzf for searching the history kept with zsh-histdb.
See the example here:
Activation
To enable the widget add the following binding to you zshrc
bindkey '^R' histdb-fzf-widget
Configuration
- Date format: By default, the date format (
us
ornon-us
) is auto-detected based on your current locale settings (seeLC_TIME
). You can override this by setting the environment variableHISTDB_FZF_FORCE_DATE_FORMAT
to eitherus
ornon-us
.
Logging
If a filename is set to HISTDB_FZF_LOGFILE
some debug information will be appended to that file.