aboutsummaryrefslogtreecommitdiffstats
path: root/commands/root.go
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2022-03-12 12:50:52 +0100
committerMichael Muré <batolettre@gmail.com>2022-05-01 10:54:13 +0200
commitf25690db47b110bcd0617d69cb0a35967313753c (patch)
treea774314ecce14d797915b0c8101be9efef316c9c /commands/root.go
parentbc6ba02bd84fc3bd86c61e89c16c400dfef01623 (diff)
downloadgit-bug-f25690db47b110bcd0617d69cb0a35967313753c.tar.gz
completion: use the correct GenBashCompletionV2 instead of the legacy function
Diffstat (limited to 'commands/root.go')
-rw-r--r--commands/root.go8
1 files changed, 0 insertions, 8 deletions
diff --git a/commands/root.go b/commands/root.go
index e7848363..e012bd83 100644
--- a/commands/root.go
+++ b/commands/root.go
@@ -50,14 +50,6 @@ the same git remote you are already using to collaborate with other people.
SilenceUsage: true,
DisableAutoGenTag: true,
-
- // Custom bash code to connect the git completion for "git bug" to the
- // git-bug completion for "git-bug"
- BashCompletionFunction: `
-_git_bug() {
- __start_git-bug "$@"
-}
-`,
}
cmd.AddCommand(newAddCommand())