homebrew-core/Formula/tmuxinator-completion.rb
Igor Kapkov 3a2332e4b3
tmuxinator-completion 0.15.0
Closes #35471.

Signed-off-by: Chongyu Zhu <i@lembacon.com>
2018-12-27 15:34:56 +08:00

20 lines
714 B
Ruby

class TmuxinatorCompletion < Formula
desc "Shell completion for Tmuxinator"
homepage "https://github.com/tmuxinator/tmuxinator"
url "https://github.com/tmuxinator/tmuxinator/archive/v0.15.0.tar.gz"
sha256 "e5c121126aebe3afc758c0561b8ef05508712a799d3821453063b87445806ed4"
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