LXC.COMPLETION.ZSH(1)

πŸ“¦ version 5.21.6, in opensuse-leap 16.0

πŸ’… 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 --help to 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