diff options
Diffstat (limited to 'doc/gen_zsh_completion.go')
-rw-r--r-- | doc/gen_zsh_completion.go | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/doc/gen_zsh_completion.go b/doc/gen_zsh_completion.go deleted file mode 100644 index 74c900fb..00000000 --- a/doc/gen_zsh_completion.go +++ /dev/null @@ -1,23 +0,0 @@ -// +build ignore - -package main - -import ( - "fmt" - "github.com/MichaelMure/git-bug/commands" - "log" - "os" - "path" -) - -func main() { - cwd, _ := os.Getwd() - filepath := path.Join(cwd, "doc", "zsh_completion", "git-bug") - - fmt.Println("Generating zsh completion file ...") - - err := commands.RootCmd.GenZshCompletionFile(filepath) - if err != nil { - log.Fatal(err) - } -} |