aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/git.rb
diff options
context:
space:
mode:
authorDavid Reynolds2009-10-01 22:28:33 +0100
committerMax Howell2009-10-04 18:36:44 +0100
commit23682964b55bf207c222debf5616b5e803918c86 (patch)
treeab5190b9db5928cc7358824a201b43f3c544ff2b /Library/Formula/git.rb
parentef92d9dc377d50f2b43b6dc6899ee9b172f0a725 (diff)
downloadhomebrew-23682964b55bf207c222debf5616b5e803918c86.tar.bz2
Making the git formula install the bash completion file
Diffstat (limited to 'Library/Formula/git.rb')
-rw-r--r--Library/Formula/git.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Formula/git.rb b/Library/Formula/git.rb
index bb7fb630d..99bf64525 100644
--- a/Library/Formula/git.rb
+++ b/Library/Formula/git.rb
@@ -18,6 +18,9 @@ class Git <Formula
system "./configure --prefix=#{prefix}"
system "make install"
+ # Install the git bash completion file
+ etc.install 'contrib/completion/git-completion.bash'
+
# these files are exact copies of the git binary, so like the contents
# of libexec/git-core lets hard link them
# I am assuming this is an overisght by the git devs