-
Notifications
You must be signed in to change notification settings - Fork 82
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
errors at installation time. complete: Too many arguments
#226
Comments
Hi @antoine-gallix! Wow never seen this and I'm not even able to make complete output |
Hello, I had the same problem (using wsl2). When I type fzf_configure_bindings I get the following error:
Nothing happens when I try to tab after |
Do either of you still see the errors when you open a new fish shell? |
Yes, when I open a new one and it spammed the error on startup. Although I have a wrapper script on every launch which could be responsible for that. |
Okay that's probably because fish sources all the completions at start up https://fishshell.com/docs/current/completions.html#where-to-put-completions. In the meantime, you may want to manually delete those completions so you don't see the errors anymore. |
Ok I have an idea but it'll require a bit of work from one of you. Can you go into your |
I changed it and got the same error as before. I just checked and I'm using fish 3.3.1 |
Interestingly on my Mac I don't have the error. Just on WSL2. Both use fish 3.3.1 |
Thanks for providing that observation! It seems this may be a fish-shell OS compatibility issue. Or maybe this issue sheds some light? fish-shell/fish-shell#7822 It suggests the possibility of an older version of fish installed but I have no idea how that works. I have asked fish-shell gitter about the OS compatibility thing: https://gitter.im/fish-shell/fish-shell?at=620fdc776e4c1e1c846fab73. |
Oops I just realized I gave you wrong instructions above when I said to
That was a typo. It needs to be |
That issue looks to be close.
Sadly this changed nothing. |
OK, so apparently I had fish 3.1.0 at |
Woohoo! @antoine-gallix could you try replicating what @MPritsch did and let me know if the issue is resolved for you? |
I'm trying to understand how is it that if the fish shell version is actually 3.1 why would |
My guess is that both fish versions were in my path, but the one from brew (3.3.1) was written last and therefore used. This wouldn't be a problem in any case other than some startup script using the direct path to |
@antoine-gallix Fabian on gitter helpfully pointed out since you are on Ubuntu, your fish shell being opened up by your terminal is probably 3.1.2. |
+1 Had this problem today with fish 3.1.0 in a fresh installation of Ubuntu 20.04 in WSL2, what you be the solution? |
Hi @thiagomajesk, fzf.fish requires fish >= 3.2.0 so the solution is to make sure you are using a proper version. |
Thanks for the response @PatrickF1, completely missed that information on the README 😅. |
Just confirmed. My $SHELL Variable points to /usr/bin/fish. But in my $PATH |
Before proceeding...
Describe the bug
At installation time I get a lot of errors about the use of fish's
complete
functionSteps to reproduce
Environment
Versions installed:
Additional context
Here are the errors:
The text was updated successfully, but these errors were encountered: