diff options
author | Michael Muré <batolettre@gmail.com> | 2019-02-25 20:18:15 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-02-25 20:18:15 +0100 |
commit | 5e4a656f85e6145f099c27bfcf42dabe1f317cb2 (patch) | |
tree | a955ed9bd73e231bcf22371dd05ce30f86033b77 /misc/bash_completion | |
parent | d380b3c16b4321d9262a49e065b54f0525da7187 (diff) | |
parent | 3c0c13bbbe934d0fa9476fa5c07bf04ea5a99b94 (diff) | |
download | git-bug-5e4a656f85e6145f099c27bfcf42dabe1f317cb2.tar.gz |
Merge pull request #97 from sladyn98/ls_id_branch
A command to list matching bug id from a prefix
Diffstat (limited to 'misc/bash_completion')
-rw-r--r-- | misc/bash_completion/git-bug | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/misc/bash_completion/git-bug b/misc/bash_completion/git-bug index 4c22c1e0..8551223d 100644 --- a/misc/bash_completion/git-bug +++ b/misc/bash_completion/git-bug @@ -550,6 +550,26 @@ _git-bug_ls() noun_aliases=() } +_git-bug_ls-id() +{ + last_command="git-bug_ls-id" + + command_aliases=() + + commands=() + + flags=() + two_word_flags=() + local_nonpersistent_flags=() + flags_with_completion=() + flags_completion=() + + + must_have_one_flag=() + must_have_one_noun=() + noun_aliases=() +} + _git-bug_ls-label() { last_command="git-bug_ls-label" @@ -845,6 +865,7 @@ _git-bug_root_command() commands+=("deselect") commands+=("label") commands+=("ls") + commands+=("ls-id") commands+=("ls-label") commands+=("pull") commands+=("push") |