aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorGeorge Song2012-02-26 21:48:00 -0800
committerAdam Vandenberg2012-03-05 21:49:04 -0800
commit691e4601bd18216a76d87b610421a24a0f6fdb4c (patch)
treea2054d3c546e29e5b5e0ee42ad9afa5bf5c8ed01 /Library
parentda7246672d0978cf26e18bcd736ef78e6f9323e3 (diff)
downloadhomebrew-691e4601bd18216a76d87b610421a24a0f6fdb4c.tar.bz2
hg: bash completion
Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/mercurial.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/Library/Formula/mercurial.rb b/Library/Formula/mercurial.rb
index 5b7c281a1..4b33e61d3 100644
--- a/Library/Formula/mercurial.rb
+++ b/Library/Formula/mercurial.rb
@@ -23,6 +23,9 @@ class Mercurial < Formula
# System-provided Python.
ENV.minimal_optimization
+ # install the completion script
+ (prefix + 'etc/bash_completion.d').install 'contrib/bash_completion' => 'hg-completion.bash'
+
# Force the binary install path to the Cellar
inreplace "Makefile",
"setup.py $(PURE) install",