Skip to content

xops completion zsh

Command usage and available options are listed below. Check --help for options supported by your installed version.

text
Generate the autocompletion script for the zsh shell.

If shell completion is not already enabled in your environment you will need
to enable it.  You can execute the following once:

	echo "autoload -U compinit; compinit" >> ~/.zshrc

To load completions in your current shell session:

	source <(xops completion zsh)

To load completions for every new session, execute once:

#### Linux:

	xops completion zsh > "${fpath[1]}/_xops"

#### macOS:

	xops completion zsh > $(brew --prefix)/share/zsh/site-functions/_xops

You will need to start a new shell for this setup to take effect.

Usage:
  xops completion zsh [flags]

Flags:
  -h, --help              help for zsh
      --no-descriptions   disable completion descriptions

Global Flags:
      --color string       ANSI color output (auto=detect pipe/redirect, never=disable, always=force enable)
      --debug              Enable debug mode (equivalent to --log-level=debug)
      --lang string        Interface language (zh/en)
      --log-level string   Set internal diagnostic log level (debug, info, warn, error)

MIT License