Skip to content

Missing action to add entry to history manually #2031

@doak

Description

@doak
  • I have read through the manual page (man fzf)
  • I have the latest version of fzf
  • I have searched through the existing issues

Info

  • OS
    • Linux
    • Mac OS X
    • Windows
    • Etc.
  • Shell
    • bash
    • zsh
    • fish

Problem / Steps to reproduce

I am using --bind="execute(echo {})+clear-query" --history=histfile to repeatedly print current selected entry without closing fzf. This works well, but I found no way to get these "accepted" entries into the history.
(I am aware that I could add current query to histfile by myself as a workaround, but this breaks abstraction in my case. Furthermore are these entries only available at next restart of fzf.)

Do I miss something? If not, this would transform into a feature request for an action to add stuff to history manually (e.g. append-to-history({q})).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions