Skip to content

Commit 50ef1a2

Browse files
committed
added compdef call to support direct sourcing
as suggested by @corneliusweig
1 parent 21f39ca commit 50ef1a2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

zsh_completions.go

+1
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ function {{genZshFuncName .}} {
8080
#compdef _{{.Name}} {{.Name}}
8181
8282
{{template "selectCmdTemplate" .}}
83+
compdef _{{.Name}} {{.Name}}
8384
{{end}}
8485
`
8586
)

0 commit comments

Comments
 (0)