mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-15 23:22:53 +08:00
Added some common completions
* Added completion for `git branch --merged` * Added completion for `git branch --no-merged`
This commit is contained in:
parent
b5d9e366ad
commit
dd595dd110
@ -203,6 +203,8 @@ complete -f -c git -n '__fish_git_using_command branch' -s a -d 'Lists both loca
|
|||||||
complete -f -c git -n '__fish_git_using_command branch' -s t -l track -d 'Track remote branch'
|
complete -f -c git -n '__fish_git_using_command branch' -s t -l track -d 'Track remote branch'
|
||||||
complete -f -c git -n '__fish_git_using_command branch' -l no-track -d 'Do not track remote branch'
|
complete -f -c git -n '__fish_git_using_command branch' -l no-track -d 'Do not track remote branch'
|
||||||
complete -f -c git -n '__fish_git_using_command branch' -l set-upstream -d 'Set remote branch to track'
|
complete -f -c git -n '__fish_git_using_command branch' -l set-upstream -d 'Set remote branch to track'
|
||||||
|
complete -f -c git -n '__fish_git_using_command branch' -l merged -d 'List branches that have been merged'
|
||||||
|
complete -f -c git -n '__fish_git_using_command branch' -l no-merged -d 'List branches that have not been merged'
|
||||||
|
|
||||||
### cherry-pick
|
### cherry-pick
|
||||||
complete -f -c git -n '__fish_git_needs_command' -a cherry-pick -d 'Apply the change introduced by an existing commit'
|
complete -f -c git -n '__fish_git_needs_command' -a cherry-pick -d 'Apply the change introduced by an existing commit'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user