homebrew-core/Formula/tmuxinator-completion.rb
2018-04-17 01:37:46 -07:00

21 lines
715 B
Ruby

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