LXC.COMPLETION.ZSH(1)
π NAME
lxc-completion-zsh β bestie, this is the one that generates the autocompletion script for zsh. That's it. That's the whole job. And it does it flawlessly, obviously. β¨
π¦ SYNOPSIS
lxc completion zsh [flags]
πΈ DESCRIPTION
Okay so picture this: you're typing in zsh and you want it to know things. To guess what you're about to type like it's your psychic bestie. That's literally what this generates β the autocompletion script for the zsh shell. π
But heads up, queen: if shell completion isn't already enabled in your environment, you gotta turn it on yourself. No cap. You can run this exactly once:
echo "autoload -U compinit; compinit" >> ~/.zshrc
And if you just wanna load the completions in your current shell session (instant gratification, we love her):
source <(lxc completion zsh)
And if you want completions for every new session forever and ever, run this once π
π§ Linux:
lxc completion zsh > "${fpath[1]}/_lxc"
π macOS:
lxc completion zsh > $(brew --prefix)/share/zsh/site-functions/_lxc
Lowkey important: you will need to start a new shell for this setup to actually take effect. Like, it's giving "restart me and I'll slay." π
β¨ OPTIONS
--no-descriptions[=false]β turns off the completion descriptions. If you like your autocomplete plain and unbothered, this is your girl. π
π OPTIONS INHERITED FROM PARENT COMMANDS
These are the hand-me-downs from the parent command and honestly they ate. π
--debug[=false]β Show all debug messages--force-local[=false]β Force using the local unix socket-h,--help[=false]β Print help--project=""β Override the source project-q,--quiet[=false]β Don't show progress information--sub-commands[=false]β Use with help or--helpto view sub-commands-v,--verbose[=false]β Show all information messages--version[=false]β Print version number
π«Ά SEE ALSO
lxc-completion(1)β go read her too, she's iconic
π HISTORY
22-Aug-2026 β Auto generated by spf13/cobra π§
And that's the whole vibe check, bestie! β This lil page came to you courtesy of LXD - Command line client(1), Auto generated by spf13/cobra, dated Aug 2026 β mwah, go forth and complete your commands ππ
π¦ where this page comes from
- opensuse-leap 16.0: lxd 5.21.6-bp160.1.1 Β· AGPL-3.0-only AND Apache-2.0
- opensuse-leap 16.0: lxd 5.21.6-bp160.1.1 Β· AGPL-3.0-only AND Apache-2.0
- opensuse-leap 16.0: lxd 5.21.6-bp160.1.1 Β· AGPL-3.0-only AND Apache-2.0
- opensuse-leap 16.0: lxd 5.21.6-bp160.1.1 Β· AGPL-3.0-only AND Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms