added compdef call to support direct sourcing

as suggested by @corneliusweig
This commit is contained in:
rsteube 2019-06-12 23:20:23 +02:00
parent 21f39ca07e
commit 50ef1a2a5a

View file

@ -80,6 +80,7 @@ function {{genZshFuncName .}} {
#compdef _{{.Name}} {{.Name}}
{{template "selectCmdTemplate" .}}
compdef _{{.Name}} {{.Name}}
{{end}}
`
)