From 0325c46a4389b319c71405192207b08e56d68898 Mon Sep 17 00:00:00 2001 From: CJ Date: Thu, 5 Feb 2015 18:23:37 +0800 Subject: [PATCH] tj#300 Added bash completion --- etc/bash_completion.sh | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/etc/bash_completion.sh b/etc/bash_completion.sh index 342c4d5..7517c68 100644 --- a/etc/bash_completion.sh +++ b/etc/bash_completion.sh @@ -78,6 +78,14 @@ _git_refactor(){ __git_extras_workflow "refactor" } +_git_scp(){ + __git_complete_remote_or_refspec +} + +_git_rscp(){ + __git_complete_remote_or_refspec +} + _git_squash(){ __gitcomp "$(__git_heads)" }