-
Notifications
You must be signed in to change notification settings - Fork 563
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
I can't seem to get fish completions working #288
Comments
What version of fish are you using? Does upgrading to the latest version help? What's the output of You can use |
(sorry for the lack of response, I lost control of my GH notifications...) I'm on the latest fish 3.3.1
...which I think is because Regardless, setting set -l interactive 1
# if test (string sub -s "-$trigger_length" $line[-1]) = $trigger
# set line[-1] (string sub -e "-$trigger_length" $line[-1])
# set interactive 1
# end I can make this change on my setup. Do you think it's just a peculiarity with my setup or something more general? |
@max-sixty just wanted to clarify how completions are supposed to work:
So, z foo<TAB> # no match found, there's no folder starting with foo in the current folder
z foo**<TAB> # opens up fzf, where you can select /tmp/foo
z foo <TAB> # notice the space before <TAB> -- this is the second argument. opens up fzf, where you can select /tmp/foo Can you verify that the completions are working as designed? In a future release, I'm planning on making the |
Now that you mention it, I think I understand that this is confusing behaviour. Perhaps we should change this to only show interactive completions if you have a |
Ah, I see @ajeetdsouza , thanks a lot for clarifying. I was reading the initial comment in #212, and now see that the functionality was changed during the review, as the final comment states
I guess that often people are using For me, having the I'll close this because you answered my question. Thanks again, both for this and for the excellent tool! |
I suppose you're right. I was actually trying to imitate fzf's completions: https://github.com/junegunn/fzf#fuzzy-completion-for-bash-and-zsh But I suppose completing only after a space is actually a great option that would work on all shells. There's no need of |
Released in v0.7.9. |
Thank you @ajeetdsouza ! |
I realize this is going to be a somewhat difficult issue to manage, because it's mostly "doesn't seem to work on my computer". But I tried to figure out what was going on for 15 minutes and couldn't manage, so thought I might not be the only one.
I can't seem to get fish completions to work. I've tried disabling my
config.fish
file and runningzoxide init fish | source
in a new shell, but no luck.I'm running
zoxide v0.7.8
.__zoxide_zi
returns lots of results.__zoxide_z_complete
exists in my shell.Is there anything else I could try?
Thank you!
The text was updated successfully, but these errors were encountered: