mirror of
https://github.com/containers/podman.git
synced 2025-08-06 03:19:52 +08:00
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 <paul.holzinger@web.de>
This commit is contained in:
@ -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.
|
||||
|
||||
|
Reference in New Issue
Block a user