mr-karan / doggo

:dog: Command-line DNS Client for Humans. Written in Golang
https://doggo.mrkaran.dev/
GNU General Public License v3.0
2.84k stars 100 forks source link

Zsh completion broken #133

Closed jatinderjit closed 2 months ago

jatinderjit commented 2 months ago

Tried generating the completion file as per the docs using doggo completions zsh. But the completion doesn't work.

This is due to an empty line at the start.

From https://zsh.sourceforge.io/Doc/Release/Completion-System.html#Autoloaded-files

Files whose first line does not start with one of these tags are not considered to be part of the completion system

The "tags" refer to #compdef ....