1podman-completion(1)() podman-completion(1)()
2
3
4
6 podman-completion - Generate shell completion scripts
7
8
10 podman completion [options] bash|zsh|fish
11
12
14 The completion command allows you to generate shell completion scripts.
15 Supported shells are bash, zsh and fish.
16
17
18 These script are used by the shell to provide suggestions and complete
19 commands when you are typing the command and press [TAB].
20
21
22 Usually these scripts are automatically installed via the package man‐
23 ager.
24
25
27 --file, -f
28 Write the generated output to file.
29
30
31 --no-desc
32 Do not provide description in the completions.
33
34
36 BASH
37 Make sure you have bash-completion installed on your system.
38
39
40 To load the completion script into your current session run: source
41 <(podman completion bash)
42
43
44 To make it available in all your bash sessions run: podman completion
45 bash -f /etc/bash_completion.d/podman
46
47
48 ZSH
49 If shell completion is not already enabled in your environment you will
50 need to enable it. You can execute the following once: echo "autoload
51 -U compinit; compinit" >> ~/.zshrc
52
53
54 To make it available in all your zsh sessions run: podman completion
55 zsh -f "${fpath[1]}/_podman"
56
57
58 Once you reload the shell the autocompletion should be working.
59
60
61 FISH
62 To load the completion script into your current session run: podman
63 completion fish | source
64
65
66 To make it available in all your fish sessions run: podman completion
67 fish -f ~/.config/fish/completions/podman.fish
68
69
71 podman(1)
72
73
74
75 podman-completion(1)()