-
-
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
Debian archive is missing vendor completions. #554
Comments
Please check out the release notes (https://github.com/sharkdp/bat/releases):
Manual fish completion files were recently re-enabled in #524. There has been no release since then. |
Ah, that explains it. My bad! |
I'm confused about the situation with the recent release of v0.11.0. The release notes state that now completions for fish are included (which would be great!), but the .deb does not contain any .fish file. Am I missing something here? Do they have to be generated somehow? |
Reopening, since the Debian archives for v0.11.0 still don't contain vendor completions. |
I think my comment above was incomplete in the sense that the DEB packages on the Release page apparently never included the completion files (I can't find anything in the Git log). We do ship autocompletion files (currently only fish) in the tarballs, so some distributions did also include them in the respective packages in the past. If somebody wants to fix this for the automatically deployed DEB packages, I'm happy to create a new release. The place would be the |
Does somebody know where would have to |
Probably under (batfish is actually an animal that exists) |
should be included in the next release |
Fish completions are included in the Debian packages for bat v0.12. |
The amd64
.deb
archive (and probably others) under the releases page is missing vendor-provided shell autocompletions.Here are the paths that I could find:
Bash: /usr/share/bash-completion/completions/
The completion script should have no file extension.
Fish: /usr/share/fish/vendor_completions.d/
The completion script should end in
.fish
.Zsh: /usr/share/zsh/vendor-completions/
The completion filenames seem to all begin with an underscore. I'm not familiar with zsh though, so I could be wrong. It also seems like they shouldn't have a file extension.
It's also important to note that some of these may be located at
/usr/local/share/...
, depending on whether or not the distro packages use/usr/local
or/usr
as the default prefix. Maybe some kind of install script could be added that copies it to the correct location, depending on whether or not the/usr/local/share/...
folder exists?The text was updated successfully, but these errors were encountered: