mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 07:26:17 -04:00
Updated bash completions for better-changelog.
This commit is contained in:
parent
e4ea8690db
commit
de8d216c54
|
|
@ -5,7 +5,23 @@ _git_bug(){
|
|||
}
|
||||
|
||||
_git_changelog(){
|
||||
__gitcomp "-l -t --list --tag --no-merges"
|
||||
local s_opts=( '-a' '-l' '-t' '-f' '-s' '-n' '-p' '-x' '-h' '?' )
|
||||
local l_opts=(
|
||||
'--all'
|
||||
'--list'
|
||||
'--tag'
|
||||
'--final-tag'
|
||||
'--start-tag'
|
||||
'--no-merges'
|
||||
'--prune-old'
|
||||
'--stdout'
|
||||
'--help'
|
||||
)
|
||||
local merged_opts_str=""
|
||||
merged_opts_str+="$(printf "%s " "${s_opts[@]}")"
|
||||
merged_opts_str+="$(printf "%s " "${l_opts[@]}")"
|
||||
|
||||
__gitcomp "$merged_opts_str"
|
||||
}
|
||||
|
||||
_git_chore(){
|
||||
|
|
|
|||
Loading…
Reference in a new issue