-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Generated fish completion does not complete filenames #372
Comments
Thank you for reporting this. I think this is related to clap-rs/clap#568 I guess we have the same problem with other shell completion files. |
Personally I scarcely use Could you disable these completions until the upstream error is fixed? |
@swiesner-dlr I agree. Sounds like a good idea to me. We should enable the shell completions for the next release. |
Shell completions are not included in the new release bat 0.9. |
I'm still having this issue—I get tab-completion for options, but not for filenames. I'm using bat 0.9.0 (newly installed via homebrew) and I'm using fish 3.0.0 (recently upgraded from 2.7.1 in case an outdated fish version was the problem). I haven't tried building from source; is that worth an attempt? |
Can you please search your filesystem for any remaining It seems like the brew formula still ships the completion files: https://github.com/Homebrew/homebrew-core/blob/5df9397fb96b3e74b7aca993afa2b620e0db9d44/Formula/bat.rb I'm afraid this would have to be reported in the homebrew-core repository. |
Thanks! I removed Edit: I put it back and removed the |
I believe this is incorrect. The completion files are still built during |
Yes - sorry. I just removed them from the tarballs and the Debian packages. If that is needed, we can disable building these files all together. If you think that is required, please open a new ticket. |
How long would it take for homebrew to pick up the new changes? Ie, at 1807 25/01/2019 I ran a |
Currently having the shell completions makes it impossible to complete filenames. Upstream Issue: sharkdp/bat#372
I have now completely disabled the generation of the files, so for the next release package maintainers will be "forced" to remove them from the packages. |
If, somehow, you still have the old completions, you can also just add
to your config and have it all. ;) Maybe, there is a simple way to add this to the generated completions, so you can re-enable them, @sharkdp? |
Currently having the shell completions makes it impossible to complete filenames. Upstream Issue: sharkdp/bat#372
@alexbepple Oooh, thanks for this, very handy! @sharkdp I'm sure you've thought of this already, but another workaround would be to stop using a subcommand and instead:
Personally I wouldn't expect a tool like |
The |
No shell completion files should be shipped with v0.10.0. |
For anyone watching this 0.10.0 is now out on homebrew and completion now works great! 🎉 |
The result is that Tab is only able to complete options, and not the paths to the files that one may want to display.
The text was updated successfully, but these errors were encountered: