ytet5uy4 / fzf-widgets

ZLE widgets of fzf
MIT License
87 stars 18 forks source link

Paste from fzf history don't replace command but append #32

Closed popstas closed 6 years ago

popstas commented 7 years ago

Environment

When I begin input command and complete it with ctrl+R: df<ctrl+R>

Actual behaviour

dfdf -h (append to input)

Expected behaviour

df -h (replace input)

Unfortunally, this bug appears about 4-5 months ago, but I forgot to tell about this. Please tell if you cannot reproduce this.

popstas commented 7 years ago

upafilasas

popstas commented 7 years ago

I did checkouts po past commits and found that this bug was introduced in f854f2e (Refactor).

ytet5uy4 commented 6 years ago

@popstas Thank you as always. I fixed this bug at https://github.com/ytet5uy4/fzf-widgets/pull/33. Please try again after update.

popstas commented 6 years ago

Thank you! Now this leaves autosuggestion from https://github.com/zsh-users/zsh-autosuggestions, but it not matters.