diff --git a/internal/completion/zsh/template.go b/internal/completion/zsh/template.go index 665b51dc78..de165612ab 100644 --- a/internal/completion/zsh/template.go +++ b/internal/completion/zsh/template.go @@ -58,4 +58,4 @@ _{{ $prog }}_complete_folders () { _describe -t folders "folders" folders -qS / } -_{{ $prog }}` +compdef _{{ $prog }} {{ $prog }}`