zsh

generate zsh autocompletion script

zsh

generate zsh autocompletion script

Name

datasets completion zsh - generate zsh autocompletion script

Synopsis

datasets completion zsh [flags]

Description

Steps to setup command-line completion for zsh:

  1. If shell completion is not already enabled in your environment, enable it by executing the following once:

    echo "autoload -U compinit; compinit" >> ~/.zshrc
    
  2. To load completions for each session, execute once:

    datasets completion zsh > "${fpath[1]}/_ncbi_datasets"
    

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

Options

      --api-key string   NCBI Datasets API Key
  -h, --help             help for zsh
      --no-progressbar   hide progress bar
Generated March 21, 2023