ffsend: add bash, fish and ZSH completions
Closes #43546. Signed-off-by: FX Coudert <fxcoudert@gmail.com>
This commit is contained in:
parent
483bafa5df
commit
46372fff76
1 changed files with 4 additions and 0 deletions
|
@ -20,6 +20,10 @@ class Ffsend < Formula
|
||||||
ENV["OPENSSL_DIR"] = Formula["openssl"].opt_prefix
|
ENV["OPENSSL_DIR"] = Formula["openssl"].opt_prefix
|
||||||
|
|
||||||
system "cargo", "install", "--root", prefix, "--path", "."
|
system "cargo", "install", "--root", prefix, "--path", "."
|
||||||
|
|
||||||
|
bash_completion.install "contrib/completions/ffsend.bash"
|
||||||
|
fish_completion.install "contrib/completions/ffsend.fish"
|
||||||
|
zsh_completion.install "contrib/completions/_ffsend"
|
||||||
end
|
end
|
||||||
|
|
||||||
test do
|
test do
|
||||||
|
|
Loading…
Reference in a new issue