From 300ac43b83c82632f548fcba936663c32a88d6f8 Mon Sep 17 00:00:00 2001 From: "Kenneth Benzie (Benie)" Date: Tue, 23 Oct 2018 17:46:53 +0100 Subject: [PATCH] Update _git-changes to complete more branch names --- _git-changes | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/_git-changes b/_git-changes index 4795197..9a9b309 100644 --- a/_git-changes +++ b/_git-changes @@ -1,6 +1,9 @@ #compdef git-changes #description Compare changes on this branch with another. -_arguments '1: :__git_remote_branch_names_noprefix' +_alternative \ + 'branches::__git_branch_names' \ + 'remote-branches::__git_remote_branch_names_noprefix' \ + 'remote-branches-prefix::__git_remote_branch_names' # vim: ft=zsh