nnn: install shell completions

Closes #37097.

Signed-off-by: Chongyu Zhu <i@lembacon.com>
This commit is contained in:
Chongyu Zhu 2019-02-19 21:08:07 +08:00
parent 3f2ad13dda
commit 5ad48b61de
No known key found for this signature in database
GPG key ID: 1A43E3C9100B38F5

View file

@ -16,6 +16,10 @@ class Nnn < Formula
def install
system "make", "install", "PREFIX=#{prefix}"
bash_completion.install "scripts/auto-completion/bash/nnn-completion.bash"
zsh_completion.install "scripts/auto-completion/zsh/_nnn"
fish_completion.install "scripts/auto-completion/fish/nnn.fish"
end
test do