-
Notifications
You must be signed in to change notification settings - Fork 87
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Command history not working #312
Comments
Hi,
|
Hi @PatrickF1,
|
Okay. Can you try binding Ctrl+R to ls and see if it triggers ls
successfully?
And also can you run `history` and make sure it’s not empty?
|
Wow, very strange indeed. Can you try using a different terminal emulator and seeing it it works there? I'm trying to isolate the bug. And if that still doesn't work, can you go into
You can the path to the file is by running Sorry you have to get your hands dirty. This is a tricky bug. |
Ok we've isolated the issue to something within One more test:
does that work? |
I think we're close-ish. We've eliminated a lot of things as the problem and know the problem is something in You seem like a very competent user. Would you prefer to play around with |
I will give it a shot. I'll see what I can do and work on it this weekend when I have no work so I have plenty time to sit down and thoroughly debug the issue. If I have any questions or if I find the solution I will be posting it here. |
Hi @PatrickF1, I Have isolated the issue to the
Now pressing |
#302 is where it was added. It makes the scoring algorithm better for chronological list. Your issue might be that you're not on the latest version of fzf, but for some reason the error isn't showing up! |
Oh, please pardon me. I installed fzf using apt repo and I did not realize until I looked at "Packaging status" that the version it downloads for Ubuntu 22.04 is very far behind (0.29.0), I should have not made any assumptions regarding the recency of the package's version. I have downloaded and built fzf from source and I am now on the latest version (0.43.0). |
No problem, it happens! I am also very confused why it doesn't error and just outputs a newline. Let me know if you have any ideas! |
Before proceeding...
Describe the bug
ctrl+r (command history) only creates a new line above my prompt and does not show any command history.
Steps to reproduce
Press ctrl+r
Environment
Versions installed:
Which, if any, configuration variables such as
fzf_preview_file_cmd
are set?I am using defaults except for
fzf_configure_bindings --directory=\cf
set in myconfig.fish
Additional context
This is a fresh install for a brand new S76 laptop.

If I unbind command history by doing
fzf_configure_bindings --history=
, triggers a different looking command history like so:The text was updated successfully, but these errors were encountered: