diff --git a/Library/Formula/knife-completion.rb b/Library/Formula/knife-completion.rb new file mode 100644 index 0000000000..b7bc0362d6 --- /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