docker-compose: add bash completion

Closes Homebrew/homebrew#37399.

Signed-off-by: Jack Nagel <jacknagel@gmail.com>
This commit is contained in:
Robson Peixoto 2015-03-04 16:44:02 -03:00 committed by Jack Nagel
parent 006665ae21
commit a6efcfd4d4

View file

@ -68,6 +68,8 @@ class Fig < Formula
ENV.prepend_create_path "PYTHONPATH", libexec/"lib/python2.7/site-packages"
system "python", *Language::Python.setup_install_args(libexec)
bash_completion.install "contrib/completion/bash/docker-compose"
bin.install Dir[libexec/"bin/*"]
bin.env_script_all_files(libexec/"bin", :PYTHONPATH => ENV["PYTHONPATH"])
ln_s bin/"docker-compose", bin/"fig"