diff options
Diffstat (limited to 'misc')
-rw-r--r-- | misc/bash_completion/git-bug | 21 | ||||
-rw-r--r-- | misc/random_bugs/create_random_bugs.go | 2 | ||||
-rw-r--r-- | misc/zsh_completion/git-bug | 2 |
3 files changed, 23 insertions, 2 deletions
diff --git a/misc/bash_completion/git-bug b/misc/bash_completion/git-bug index 8551223d..98d94a35 100644 --- a/misc/bash_completion/git-bug +++ b/misc/bash_completion/git-bug @@ -450,6 +450,26 @@ _git-bug_deselect() noun_aliases=() } +_git-bug_id() +{ + last_command="git-bug_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_label_add() { last_command="git-bug_label_add" @@ -863,6 +883,7 @@ _git-bug_root_command() commands+=("commands") commands+=("comment") commands+=("deselect") + commands+=("id") commands+=("label") commands+=("ls") commands+=("ls-id") diff --git a/misc/random_bugs/create_random_bugs.go b/misc/random_bugs/create_random_bugs.go index f30a9d8a..085e89f0 100644 --- a/misc/random_bugs/create_random_bugs.go +++ b/misc/random_bugs/create_random_bugs.go @@ -138,7 +138,7 @@ func GenerateRandomOperationPacksWithSeed(packNumber int, opNumber int, seed int } func person() identity.Interface { - return identity.NewBare(fake.FullName(), fake.EmailAddress()) + return identity.NewIdentity(fake.FullName(), fake.EmailAddress()) } var persons []identity.Interface diff --git a/misc/zsh_completion/git-bug b/misc/zsh_completion/git-bug index a416ccef..d966b9be 100644 --- a/misc/zsh_completion/git-bug +++ b/misc/zsh_completion/git-bug @@ -8,7 +8,7 @@ case $state in level1) case $words[1] in git-bug) - _arguments '1: :(add bridge commands comment deselect label ls ls-label pull push select show status termui title version webui)' + _arguments '1: :(add bridge commands comment deselect id label ls ls-label pull push select show status termui title version webui)' ;; *) _arguments '*: :_files' |