-
Notifications
You must be signed in to change notification settings - Fork 2.1k
eval (__fzfcmd)
hangs indefinitely
#6955
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
Comments
I was just about to report this, created an issue for jethrokuan/fzf here: jethrokuan/fzf#147 Seems to be related to 3.1.1. |
It seems that I have the same issue with |
I also get similar issues with conda ( |
In hindsight my pushing the eval changes into 3.1.1 may have been a little reckless. |
Well, I learned a lot while I was still convinced I had totally wrecked my whole environment. It didn’t even work when I created a new user 😁 |
I downgraded back to 3.1.0 for now. |
For the time being, the Homebrew tap https://github.com/fish-shell/homebrew-fish is still at 3.1b1, for the |
Wow, thanks! I prefer to stay in brew land on my work machine. |
FYI, to downgrade to the previous version (which homebrew makes annoyingly hard): |
Same issue here. While running a |
don't forget to |
Commit 5fccfd8, with the fix for #6806, switched eval to buffer its output (like other builtins do). But this prevents using eval with commands that wants to see the tty, especially fzf. So only buffer the output if the output is piped to the next process. This will solve #6955 (which needs to go into a point release).
Okay, folks, we know about the issue, further discussion isn't all that helpful. I have locked the issue. |
This is a serious 3.1.1 regression (mea culpa). I have started Integration_3.1.2 branch with the fix. @zanchey do you have resources to do a 3.1.2 release? (I originally branched off of master instead of 3.1.1, now fixed.) |
Yes, I can do it today. |
Using 2bc4228
By default,
fzf
evaluates its executable dynamically (see https://github.com/junegunn/fzf/blob/e6d33f77/shell/key-bindings.fish#L63).However, this recently stopped working. Running
eval (__fzfcmd)
or even justeval (echo fzf)
seems to hang indefinitely. Hitting Ctrl-C a few times interrupts whatever is hanging and the shell returns to normal, with the following output:The text was updated successfully, but these errors were encountered: