From c05e2e786aed4db78ba5ac76067c7b3b0f44e75b Mon Sep 17 00:00:00 2001 From: onyx-and-iris Date: Sun, 29 Mar 2026 23:20:49 +0100 Subject: [PATCH] fix command path --- main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.go b/main.go index 0021837..e6d8abf 100644 --- a/main.go +++ b/main.go @@ -25,8 +25,8 @@ It allows users to easily create and manage .gitignore files for various program You may also list available templates and generate .gitignore files based on those templates.`, SilenceUsage: true, PersistentPreRun: func(cmd *cobra.Command, _ []string) { - if strings.HasPrefix(cmd.CommandPath(), "exclude completion") || - strings.HasPrefix(cmd.CommandPath(), "exclude help") { + if strings.HasPrefix(cmd.CommandPath(), "ignr completion") || + strings.HasPrefix(cmd.CommandPath(), "ignr help") { return }