aboutsummaryrefslogtreecommitdiffstats
path: root/misc/bash_completion
diff options
context:
space:
mode:
authorMichael Muré <batolettre@gmail.com>2018-08-08 20:12:04 +0200
committerMichael Muré <batolettre@gmail.com>2018-08-08 20:31:31 +0200
commit929d7093644e4f6b83ef366b83b5b66be075736e (patch)
treed04549c39cc71d89d969da807d294d446020c16b /misc/bash_completion
parentb8e9e581b193d32684c685aa73a6890385f879c3 (diff)
downloadgit-bug-929d7093644e4f6b83ef366b83b5b66be075736e.tar.gz
bash completion: thanks to @tst2005, make the completion works for "git bug <command>"
Diffstat (limited to 'misc/bash_completion')
-rw-r--r--misc/bash_completion/git-bug5
1 files changed, 5 insertions, 0 deletions
diff --git a/misc/bash_completion/git-bug b/misc/bash_completion/git-bug
index d8505868..bc831998 100644
--- a/misc/bash_completion/git-bug
+++ b/misc/bash_completion/git-bug
@@ -243,6 +243,11 @@ __git-bug_handle_word()
__git-bug_handle_word
}
+
+_git_bug() {
+ __start_git-bug "$@"
+}
+
_git-bug_close()
{
last_command="git-bug_close"