From feda884b55fd2ae6a337755c391865f8510500d2 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Mon, 23 Jan 2017 15:26:30 +0000 Subject: [PATCH] homesick-completion: import from homebrew/completions. --- Formula/homesick-completion.rb | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 Formula/homesick-completion.rb diff --git a/Formula/homesick-completion.rb b/Formula/homesick-completion.rb new file mode 100644 index 00000000000..28ebec8120b --- /dev/null +++ b/Formula/homesick-completion.rb @@ -0,0 +1,17 @@ +class HomesickCompletion < Formula + desc "Bash completion for Homesick" + homepage "https://github.com/MasterRoot24/homesick-completion" + url "https://github.com/MasterRoot24/homesick-completion/archive/v1.0.0.tar.gz" + sha256 "f9953d92dc5c0d9770d502a68651795c78f5d7bd6078cd747e77ebc602c43609" + + bottle :unneeded + + def install + bash_completion.install "homesick" + end + + test do + assert_match "-F _homesick", + shell_output("source #{bash_completion}/homesick && complete -p homesick") + end +end