homebrew-core/Formula/tmuxinator-completion.rb
Igor Kapkov f53aad5c3e
tmuxinator-completion 1.1.1
Closes #40205.

Signed-off-by: Chongyu Zhu <i@lembacon.com>
2019-05-23 22:09:34 +08:00

20 lines
713 B
Ruby

class TmuxinatorCompletion < Formula
desc "Shell completion for Tmuxinator"
homepage "https://github.com/tmuxinator/tmuxinator"
url "https://github.com/tmuxinator/tmuxinator/archive/v1.1.1.tar.gz"
sha256 "cc293578bca43ba5cf0d60c1355c6aa1da9d923a0acc274a47ceab03812a6ef4"
head "https://github.com/tmuxinator/tmuxinator.git"
bottle :unneeded
def install
bash_completion.install "completion/tmuxinator.bash" => "tmuxinator"
zsh_completion.install "completion/tmuxinator.zsh" => "_tmuxinator"
fish_completion.install Dir["completion/*.fish"]
end
test do
assert_match "-F _tmuxinator",
shell_output("source #{bash_completion}/tmuxinator && complete -p tmuxinator")
end
end