chrisant996 / clink-fzf

Fzf integration for Clink
MIT License
77 stars 10 forks source link

Selecting an item from history adds the history index as well #17

Closed eblis closed 5 months ago

eblis commented 5 months ago

This might be something on my end, with my configuration, but recently when I select a history entry (after pressing Ctrl + R) in clink i get a list of entries like so: image If I select one of the entries in the history the command prompt changes to: image

It adds the history index of the selected command to the command prompt

chrisant996 commented 5 months ago

The screen shots are too small to see what's happening.

But I think you have fzf set up, and I think you don't have the latest fzf.lua script.

UPDATE: Oh haha I initially missed that this issue is in the clink-fzf repo. You don't have the latest version.

eblis commented 5 months ago

Ah, yes, forgot to mention. I have clink and clink-gizmos (which includes fzf.lua)

I'll update and report back

eblis commented 5 months ago

Everything ok with the latest fzf.lua script. Sorry for the trouble.