aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJannis Leidel2012-02-16 11:34:18 +0100
committerAdam Vandenberg2012-02-19 17:26:45 -0800
commit01a9727bbbac0565a24dc7bf3878de7b3995d024 (patch)
tree30ff51c53e7b0ad38a9ace3a7187530b2a4f17b0 /Library
parent929a47783d6aa6c46bfeaa3f1ca90370c0a7b5a2 (diff)
downloadhomebrew-01a9727bbbac0565a24dc7bf3878de7b3995d024.tar.bz2
Added a formula for knife bash completion.
Closes #10223. Signed-off-by: Adam Vandenberg <flangy@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/knife-completion.rb11
1 files changed, 11 insertions, 0 deletions
diff --git a/Library/Formula/knife-completion.rb b/Library/Formula/knife-completion.rb
new file mode 100644
index 000000000..b7bc0362d
--- /dev/null
+++ b/Library/Formula/knife-completion.rb
@@ -0,0 +1,11 @@
+require 'formula'
+
+class KnifeCompletion < GithubGistFormula
+ url 'https://raw.github.com/gist/1050685/b616645a4c9f56fb52d8fc65703e746f9e8ffd7c/knife'
+ homepage 'https://gist.github.com/1050685'
+ md5 '488e4ce424c37d2e4efcf7041fdacfd8'
+
+ def install
+ (prefix+'etc/bash_completion.d').install Dir['*']
+ end
+end