diff --git a/share/completions/git.fish b/share/completions/git.fish index a0097b0e6..d83f1b90c 100644 --- a/share/completions/git.fish +++ b/share/completions/git.fish @@ -1571,7 +1571,7 @@ complete -f -c git -n '__fish_git_using_command restore; and contains -- --stage complete -f -c git -n '__fish_git_using_command restore; and __fish_contains_opt -s s source' -a '(git ls-files)' # switch options complete -f -c git -n __fish_git_needs_command -a switch -d 'Switch to a branch' -complete -k -f -c git -n '__fish_git_using_command switch' -a '(__fish_git_branches)' +complete -k -f -c git -n '__fish_git_using_command switch' -a '(__fish_git_local_branches)' complete -k -f -c git -n '__fish_git_using_command switch' -a '(__fish_git_unique_remote_branches)' -d 'Unique Remote Branch' complete -f -c git -n '__fish_git_using_command switch' -r -s c -l create -d 'Create a new branch' complete -f -c git -n '__fish_git_using_command switch' -r -s C -l force-create -d 'Force create a new branch'