nnn: install shell completions
Closes #37097. Signed-off-by: Chongyu Zhu <i@lembacon.com>
This commit is contained in:
parent
3f2ad13dda
commit
5ad48b61de
1 changed files with 4 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue