Move completions to better location/Homebrew compat

This commit is contained in:
James R. Barlow 2019-05-13 00:22:52 -07:00
parent 84ec83151d
commit 7e388f59af
4 changed files with 8 additions and 7 deletions

View File

@ -494,12 +494,13 @@ To add JBIG2 encoding, see :ref:`jbig2`.
Shell completions
-----------------
Completions for ``bash`` and ``fish`` are available in the project's ``misc/`` folder.
The ``bash`` completions are likely ``zsh`` compatible but this has not been confirmed.
Package maintainers, please install these at the appropriate locations for your system.
Completions for ``bash`` and ``fish`` are available in the project's
``misc/completion`` folder. The ``bash`` completions are likely ``zsh``
compatible but this has not been confirmed. Package maintainers, please install
these at the appropriate locations for your system.
To manually install the ``bash`` completion, copy ``misc/ocrmypdf`` to
``/etc/bash_completion.d/``.
To manually install the ``bash`` completion, copy ``misc/completion/ocrmypdf.bash`` to
``/etc/bash_completion.d/ocrmypdf`` (rename the file).
To manually install the ``fish`` completion, copy ``misc/completions.fish`` to
To manually install the ``fish`` completion, copy ``misc/completion/ocrmypdf.fish`` to
``~/.config/fish/completions/ocrmypdf.fish``.

View File

@ -22,7 +22,7 @@ v8.3.0
- Previously, we resized the images produced by Ghostscript by a small number of pixels to ensure the output image size was an exactly what we wanted. Having discovered a way to get Ghostscript to produce the exact image sizes we require, we eliminated the resizing step.
- Command line completions for ``bash`` are now available, in addition to ``fish``, both in ``misc/``. Package maintainers, please install these so users can take advantage.
- Command line completions for ``bash`` are now available, in addition to ``fish``, both in ``misc/completion``. Package maintainers, please install these so users can take advantage.
- Updated requirements.