carthage: add bash/zsh/fish completions
Closes #3459. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
This commit is contained in:
parent
f0cdef9665
commit
ececc21f2c
1 changed files with 3 additions and 0 deletions
|
@ -15,6 +15,9 @@ class Carthage < Formula
|
|||
|
||||
def install
|
||||
system "make", "prefix_install", "PREFIX=#{prefix}"
|
||||
bash_completion.install "Source/Scripts/carthage-bash-completion" => "carthage"
|
||||
zsh_completion.install "Source/Scripts/carthage-zsh-completion" => "_carthage"
|
||||
fish_completion.install "Source/Scripts/carthage-fish-completion" => "carthage.fish"
|
||||
end
|
||||
|
||||
test do
|
||||
|
|
Loading…
Reference in a new issue