podman-completion(1)
β¨ podman-completion(1) β¨
okay bestie, welcome to the podman-completion manual page π this is from the General Commands Manual section of the podman docs, and it's genuinely one of the most underrated little glow-ups you can give your terminal. no cap.
πΈ NAME πΈ
podman-completion β Generate shell completion scripts
like, it makes your shell finish your sentences for you. main character energy fr fr.
π¦ SYNOPSIS π¦
podman completion [options] bash | zsh | fish | powershell
π DESCRIPTION π
podman completion generates shell completion scripts for a variety of shells. the supported shells are bash, zsh, fish and powershell. that's the whole roster, periodt. π
these scripts are used by the shell to provide suggestions and complete commands when the command is typed and [TAB] is pressed. so you type half a thing, smash tab, and the shell is like "say less, i got you" β¨
usually these scripts are automatically installed via the package manager, so lowkey you might already have this working and not even know. vibe check your tab key and find out.
π OPTIONS π
--file,-f=fileβ write the generated output to a file. instead of dumping the script into your terminal like a little confetti cannon, it goes straight into file. π--no-descβ do not provide description in the completions. the default isfalse.
π INSTALLATION π
π BASH
bash-completion has to be installed on the system. no bash-completion, no magic, sorry bestie π
to load the completion script into the current session run:
source <(podman completion bash)
to make it available for all bash sessions run:
podman completion -f /etc/bash_completion.d/podman bash
π§ ZSH
shell completion needs to be already enabled in the environment. the following can be executed:
echo "autoload -U compinit; compinit" >> ~/.zshrc
to make it available for all zsh sessions run:
podman completion -f "${fpath[1]}/_podman" zsh
once the shell is reloaded the auto-completion works. reload and slay. π₯
β FISH
to load the completion script into the current session run:
podman completion fish | source
to make it available for all fish sessions run:
podman completion -f ~/.config/fish/completions/podman.fish fish
π POWERSHELL
to load the completion script into the current session run:
podman.exe completion powershell | Out-String | Invoke-Expression
to make it available in all powershell sessions that a user has, write the completion output to a file and source that to the user's powershell profile. more information about profiles is available with Get-Help about_Profiles.
ngl the powershell one is a whole journey, but you got this π«Ά
π SEE ALSO π
podman(1), zsh(1), fish(1), powershell(1)
and that's the whole page, bestie π this was podman-completion(1) from the General Commands Manual, and yes, the page does sign itself off by saying podman-completion(1) again at the bottom like it's hyping itself up in the mirror. iconic behavior honestly. now go press tab and enjoy the β¨suggestionsβ¨ πΈπ
π¦ where this page comes from
- arch rolling: podman-docker 6.1.4-1 Β· Apache-2.0
- fedora 43: podman-docker 5:5.6.2-1.fc43 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- fedora 43: podman-docker 5:5.8.4-1.fc43
- fedora 43: podman-docker 5:5.8.8-1.fc43
- fedora 43: podman-docker 5:5.8.9-1.fc43 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- fedora 44: podman-docker 5:5.8.1-1.fc44 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- fedora 44: podman-docker 5:5.8.7-1.fc44
- fedora 44: podman-docker 5:5.8.9-1.fc44 Β· Apache-2.0 AND BSD-2-Clause AND BSD-3-Clause AND ISC AND MIT AND MPL-2.0
- ubuntu resolute: podman-docker 5.7.0+ds2-3build1 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms