mirror of
https://github.com/qpdf/qpdf.git
synced 2024-12-22 02:49:00 +00:00
Add completion files for packagers
This commit is contained in:
parent
2d0336d862
commit
1dc235e56d
@ -2,6 +2,10 @@
|
||||
|
||||
* 8.3.0: release
|
||||
|
||||
* Add sample completion files in completions. These can be used by
|
||||
packagers to install on the system wherever bash and zsh keep
|
||||
their vendor-supplied completions.
|
||||
|
||||
* Add configure flag --enable-check-autofiles, which is on by
|
||||
default. Packagers whose packaging systems automatically refresh
|
||||
autoconf or libtool files should pass --disable-check-autofiles to
|
||||
|
10
completions/README.md
Normal file
10
completions/README.md
Normal file
@ -0,0 +1,10 @@
|
||||
These completion files may be installed in your system's vendor completion area for bash and zsh.
|
||||
|
||||
For example, on a debian-based system, you could install these as
|
||||
|
||||
```
|
||||
cp bash/qpdf /usr/share/bash-completion/completions/
|
||||
cp zsh/_qpdf /usr/share/zsh/vendor-completions/
|
||||
```
|
||||
|
||||
Packagers are encouraged to install these in whatever locations appropriate for their systems.
|
1
completions/bash/qpdf
Normal file
1
completions/bash/qpdf
Normal file
@ -0,0 +1 @@
|
||||
eval $(/usr/bin/qpdf --completion-bash)
|
2
completions/zsh/_qpdf
Normal file
2
completions/zsh/_qpdf
Normal file
@ -0,0 +1,2 @@
|
||||
#compdef qpdf
|
||||
eval $(/usr/bin/qpdf --completion-zsh)
|
Loading…
Reference in New Issue
Block a user