NB: If you like this, you might want to have an implementation with a better performance: zsh-histdb-skim
This addon uses fzf for searching the history kept with zsh-histdb.
See the example here:
To enable the widget add the following binding to you zshrc
bindkey '^R' histdb-fzf-widget
- 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
.
If a filename is set to HISTDB_FZF_LOGFILE
some debug information will be appended to that file.