open-completion: import from homebrew/completions.
parent
95d8c56d67
commit
1c526f0cc0
|
@ -0,0 +1,18 @@
|
|||
class OpenCompletion < Formula
|
||||
desc "Bash completion for open"
|
||||
homepage "https://github.com/moshen/open-bash-completion"
|
||||
url "https://github.com/moshen/open-bash-completion/archive/v1.0.3.tar.gz"
|
||||
sha256 "e7ed931d49d2c9ed5bc4fcad1b60a8c4cb6d4bca86948cb54e6689f313a2029e"
|
||||
head "https://github.com/moshen/open-bash-completion.git"
|
||||
|
||||
bottle :unneeded
|
||||
|
||||
def install
|
||||
bash_completion.install "open"
|
||||
end
|
||||
|
||||
test do
|
||||
assert_match "-F _open",
|
||||
shell_output("source #{bash_completion}/open && complete -p open")
|
||||
end
|
||||
end
|
Loading…
Reference in New Issue