nomctl completions#

Print a shell completion script for the given shell to stdout.

Pipe the output into the location your shell loads completions from:

  bash:
    nomctl completions bash | sudo tee /etc/bash_completion.d/nomctl

  zsh (ensure a writable dir is on $fpath, e.g. ~/.zfunc):
    nomctl completions zsh > ~/.zfunc/_nomctl
    # in ~/.zshrc:   fpath+=(~/.zfunc); autoload -U compinit && compinit

  fish:
    nomctl completions fish > ~/.config/fish/completions/nomctl.fish

  powershell:
    nomctl completions powershell >> $PROFILE

  elvish:
    nomctl completions elvish >> ~/.config/elvish/rc.elv


Usage: nomctl completions <SHELL>

Arguments:
  <SHELL>
          Shell to generate completions for

          [possible values: bash, elvish, fish, powershell, zsh]

Options:
  -h, --help
          Print help (see a summary with '-h')