From ae3816614de1c2a0c9ab9cd05afebc5b1dda6429 Mon Sep 17 00:00:00 2001 From: Paul Holzinger Date: Sun, 8 Nov 2020 21:50:51 +0100 Subject: Install the new shell completion logic Add a new make target (completion) to generate the shell completion scripts. This will generate the scripts for bash, zsh and fish for both podman and podman-remote with `podman completion`. The scripts are put into the completions directory and can be installed system wide with `sudo make install.completions`. This commit replaces the current handwritten scripts for bash and zsh. The `validate.completion` target has been adjusted to make sure nobody edits these scripts directly. Signed-off-by: Paul Holzinger --- docs/source/markdown/podman-completion.1.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'docs') diff --git a/docs/source/markdown/podman-completion.1.md b/docs/source/markdown/podman-completion.1.md index 43409e282..50b0b6145 100644 --- a/docs/source/markdown/podman-completion.1.md +++ b/docs/source/markdown/podman-completion.1.md @@ -11,14 +11,14 @@ The completion command allows you to generate shell completion scripts. Supporte These script are used by the shell to provide suggestions and complete commands when you are typing the command and press [TAB]. -Usually these scripts are automatically installed via rpm/deb packages. +Usually these scripts are automatically installed via the package manager. ## OPTIONS -**--file**, **-f** +#### **--file**, **-f** Write the generated output to file. -**--no-desc** +#### **--no-desc** Do not provide description in the completions. -- cgit v1.2.3-54-g00ecf