From 7bdd6b56598ba2e8bd0d919ef7ec6cda08c86439 Mon Sep 17 00:00:00 2001 From: Danielle McLean Date: Fri, 3 Aug 2018 15:48:59 +1000 Subject: [PATCH] Add custom Zsh completion to the git-finish subcommand (yay!) --- config/zsh/functions/_git-finish | 3 +++ 1 file changed, 3 insertions(+) create mode 100644 config/zsh/functions/_git-finish diff --git a/config/zsh/functions/_git-finish b/config/zsh/functions/_git-finish new file mode 100644 index 0000000..9c4c21b --- /dev/null +++ b/config/zsh/functions/_git-finish @@ -0,0 +1,3 @@ +#compdef git-finish +#description smoothly finish a git-flow feature or hotfix branch +_arguments '1:branch:__git_branch_names' '2:pull request number:'