mirror of
https://github.com/fish-shell/fish-shell
synced 2025-01-15 06:24:01 +00:00
completions/git: Add some options for init.defaultBranch
[ci skip]
This commit is contained in:
parent
b8424e425f
commit
03758ce129
1 changed files with 2 additions and 0 deletions
|
@ -2138,6 +2138,8 @@ function __fish_git_complete_key_values
|
||||||
switch $config_key
|
switch $config_key
|
||||||
case diff.algorithm
|
case diff.algorithm
|
||||||
printf "%s\n" myers patience histogram minimal
|
printf "%s\n" myers patience histogram minimal
|
||||||
|
case init.defaultBranch
|
||||||
|
printf "%s\n" master main trunk dev next
|
||||||
case '*'
|
case '*'
|
||||||
__fish_complete_path
|
__fish_complete_path
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue