From a349b130623707657fc99f512debf58d8a79cee0 Mon Sep 17 00:00:00 2001 From: Oleg Broytman Date: Tue, 2 Aug 2016 20:37:17 +0300 Subject: [PATCH] .shellrc: add completion for git {fixup,rbi,rbia,rbiap,rbip} --- .shellrc | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/.shellrc b/.shellrc index bd1228e..333091c 100644 --- a/.shellrc +++ b/.shellrc @@ -172,6 +172,15 @@ if test -x /usr/bin/git >/dev/null 2>&1; then } if test -n "$BASH_VERSION"; then + # completion for global aliases in .gitconfig + # fixup rbi rbia rbiap rbip - delegate to git-rebase completion + + _git_fixup() { _git_rebase ; } + _git_rbi() { _git_rebase ; } + _git_rbia() { _git_rebase ; } + _git_rbiap() { _git_rebase ; } + _git_rbip() { _git_rebase ; } + # list remotes with URLs matching a regexp list_remotes() { GIT_REMOTES="" -- 2.39.2