deutsche-nationalbibliothek/pica-rs

Automatically install CLI completion with DEB and RPM

Closed this issue · 1 comments

See https://stackoverflow.com/a/55890014/373710 for where to include the completion file (I guess there are more complete tutorials out there for DEB and RPM package maintainers).

For Debian package:

  • Output of pica completions bash must be put into /usr/share/bash-completion/completions/pica (tested)
  • Output of pica completions zsh must be put into /usr/share/zsh/vendor-completions/_pica (tested)
  • Output of pica completions fish must be put into /usr/share/fish/vendor_completions.d/pica.fish (tested)
  • Elvish does not have a system-wide completions
  • You can run PowerShell on Debian but I have no motivation to find out where to place completions for this unlikely case.

For RPM the pathes are probably the same but better ask someone using CentOS.