ks completion zsh

ks completion zsh

generate the autocompletion script for zsh


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 for every new session, execute once:


$ ks completion zsh > “${fpath[1]}/_ks”


$ ks completion zsh > /usr/local/share/zsh/site-functions/_ks

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

ks completion zsh [flags]


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

Options inherited from parent commands

  -c, --config string   config file (default is $HOME/.config/keystone/keystone.yaml)
      --env string      environment to use instead of the current one
  -q, --quiet           make the output machine readable
  -s, --skip            skip prompts and use default


  • ks completion - generate the autocompletion script for the specified shell
Auto generated by spf13/cobra on 13-Oct-2021

Edit this page on GitHub