tmuxinator-completion: import from homebrew/completions.
This commit is contained in:
parent
ba30d05dd2
commit
d89d0d3b58
1 changed files with 21 additions and 0 deletions
21
Formula/tmuxinator-completion.rb
Normal file
21
Formula/tmuxinator-completion.rb
Normal file
|
@ -0,0 +1,21 @@
|
|||
class TmuxinatorCompletion < Formula
|
||||
desc "Shell completion for Tmuxinator"
|
||||
homepage "https://github.com/tmuxinator/tmuxinator"
|
||||
url "https://github.com/tmuxinator/tmuxinator/archive/v0.9.0.tar.gz"
|
||||
sha256 "dd4924d13a2b4b26bf4823c342c6bd773a7c393e5da1e858e6dfad216e59e5fb"
|
||||
|
||||
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
|
Loading…
Reference in a new issue