Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion completions.go
Original file line number Diff line number Diff line change
Expand Up @@ -734,7 +734,7 @@ to enable it. You can execute the following once:

To load completions in your current shell session:

source <(%[1]s completion zsh); compdef _%[1]s %[1]s
source <(%[1]s completion zsh)

To load completions for every new session, execute once:

Expand Down
1 change: 1 addition & 0 deletions zsh_completions.go
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ func genZshComp(buf io.StringWriter, name string, includeDesc bool) {
compCmd = ShellCompNoDescRequestCmd
}
WriteStringAndCheck(buf, fmt.Sprintf(`#compdef %[1]s
compdef _%[1]s %[1]s

# zsh completion for %-36[1]s -*- shell-script -*-

Expand Down