boot2docker-completion: import from homebrew/completions.
This commit is contained in:
parent
f08bbcbef3
commit
d62f59ded6
1 changed files with 18 additions and 0 deletions
18
Formula/boot2docker-completion.rb
Normal file
18
Formula/boot2docker-completion.rb
Normal file
|
@ -0,0 +1,18 @@
|
|||
class Boot2dockerCompletion < Formula
|
||||
desc "Bash completion for Boot2docker"
|
||||
homepage "https://github.com/alexandregz/boot2docker-completion"
|
||||
url "https://github.com/alexandregz/boot2docker-completion/archive/1.0.tar.gz"
|
||||
sha256 "51d162ed4f890f9d702a215d11a2564ec44baebc38ede49f75f9b36521d856fb"
|
||||
head "https://github.com/alexandregz/boot2docker-completion.git"
|
||||
|
||||
bottle :unneeded
|
||||
|
||||
def install
|
||||
bash_completion.install "boot2docker-completion.bash"
|
||||
end
|
||||
|
||||
test do
|
||||
assert_match "-F _boot2docker",
|
||||
shell_output("source #{bash_completion}/boot2docker-completion.bash && complete -p boot2docker")
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue