zsh:auto,comp: Add git-signoff function

Add `git-signoff` to signoff commits in given range.
Reuse the `_git-rebase` completion function for `git-signoff`.
This commit is contained in:
2022-03-30 02:34:40 +02:00
parent 5caff096cb
commit e024ca9f0a
2 changed files with 22 additions and 0 deletions

View File

@@ -39,6 +39,7 @@ compdef nvim-man=man
compdef _git-log glog
compdef _git-checkout git-checkout-worktree
compdef _git-commit git-commit-last-msg
compdef _git-rebase git-signoff
# Run git's completion once to avoid a `command not found` error when using the
# completion functions on other programs without having completed something for
# git before in the same session.