From 050def2628d49f0cc507b7e546f3fc3f2986f62c Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Thu, 2 Jul 2015 19:06:31 +0900 Subject: [PATCH] shrc: Load git-completion when isdarwin --- shrc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/shrc b/shrc index 24756ac..029e282 100755 --- a/shrc +++ b/shrc @@ -471,6 +471,8 @@ g(){ git "$@" fi } + +$isdarwin && . /Applications/Xcode.app/Contents/Developer/usr/share/git-core/git-completion.bash if null type _git && $inbash then # enable programmable completion for g