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 Jun 12, 2019
1 parent f2b07da commit 2b3f9b2
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 2b3f9b2

Please sign in to comment.