From 01a9727bbbac0565a24dc7bf3878de7b3995d024 Mon Sep 17 00:00:00 2001 From: Jannis Leidel Date: Thu, 16 Feb 2012 11:34:18 +0100 Subject: Added a formula for knife bash completion. Closes #10223. Signed-off-by: Adam Vandenberg --- Library/Formula/knife-completion.rb | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Library/Formula/knife-completion.rb (limited to 'Library/Formula') 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 -- cgit v1.2.3