diff --git a/docs/installation.rst b/docs/installation.rst index 014f769f..59f9d58e 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -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``. diff --git a/docs/release_notes.rst b/docs/release_notes.rst index e646d038..6af0f263 100644 --- a/docs/release_notes.rst +++ b/docs/release_notes.rst @@ -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. diff --git a/misc/completions.bash b/misc/completion/ocrmypdf.bash similarity index 100% rename from misc/completions.bash rename to misc/completion/ocrmypdf.bash diff --git a/misc/completions.fish b/misc/completion/ocrmypdf.fish similarity index 100% rename from misc/completions.fish rename to misc/completion/ocrmypdf.fish