.nh .TH "GT-COMPLETION-ZSH" "1" "Nov 2026" "gitea-cli" "gitea-cli Manual" .SH NAME gt-completion-zsh - Generate the autocompletion script for zsh .SH SYNOPSIS \fBgt completion zsh [flags]\fP .SH DESCRIPTION Generate the completion script for zsh. It needs compinit; enable it with the line autoload -U compinit; compinit in ~/.zshrc. .PP To load completions in every new shell, add the source line below to ~/.zshrc, or write the script to a directory of $fpath as _gt. .SH OPTIONS \fB-h\fP, \fB--help\fP[=false] help for zsh .PP \fB--no-descriptions\fP[=false] Disable completion descriptions .SH OPTIONS INHERITED FROM PARENT COMMANDS \fB--debug\fP[=false] Log the method, URL, status, and duration of each HTTP request to stderr .PP \fB--host\fP="" Gitea instance \fBURL\fR, including any base path .PP \fB--interactive\fP[=false] Allow prompts with machine output .PP \fB--no-input\fP[=false] Disable prompts and implicit editor/browser interactions .PP \fB--sudo\fP="" Perform API requests as this \fBuser\fR (requires an administrator account) .PP \fB--user\fP="" Account \fBname\fR on the selected instance .SH EXAMPLE .EX $ source <(gt completion zsh) $ gt completion zsh > "${fpath[1]}/_gt" .EE .SH SEE ALSO \fBgt-completion(1)\fP