Skip to content

Commit

Permalink
added compdef call to support direct sourcing
Browse files Browse the repository at this point in the history
as suggested by @corneliusweig
  • Loading branch information
rsteube committed Jul 11, 2019
1 parent 21f39ca commit 50ef1a2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions zsh_completions.go
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ function {{genZshFuncName .}} {
#compdef _{{.Name}} {{.Name}}
{{template "selectCmdTemplate" .}}
compdef _{{.Name}} {{.Name}}
{{end}}
`
)
Expand Down

0 comments on commit 50ef1a2

Please sign in to comment.