github.com/ahmet2mir/goreleaser@v0.180.3-0.20210927151101-8e5ee5a9b8c5/www/docs/cmd/goreleaser_completion_zsh.md (about)

     1  # goreleaser completion zsh
     2  
     3  generate the autocompletion script for zsh
     4  
     5  ## Synopsis
     6  
     7  
     8  Generate the autocompletion script for the zsh shell.
     9  
    10  If shell completion is not already enabled in your environment you will need
    11  to enable it.  You can execute the following once:
    12  
    13  $ echo "autoload -U compinit; compinit" >> ~/.zshrc
    14  
    15  To load completions for every new session, execute once:
    16  # Linux:
    17  $ goreleaser completion zsh > "${fpath[1]}/_goreleaser"
    18  # macOS:
    19  $ goreleaser completion zsh > /usr/local/share/zsh/site-functions/_goreleaser
    20  
    21  You will need to start a new shell for this setup to take effect.
    22  
    23  
    24  ```
    25  goreleaser completion zsh [flags]
    26  ```
    27  
    28  ## Options
    29  
    30  ```
    31    -h, --help              help for zsh
    32        --no-descriptions   disable completion descriptions
    33  ```
    34  
    35  ## Options inherited from parent commands
    36  
    37  ```
    38        --debug   Enable debug mode
    39  ```
    40  
    41  ## See also
    42  
    43  * [goreleaser completion](/cmd/goreleaser_completion/)	 - generate the autocompletion script for the specified shell
    44