From 5ad48b61de4a3253b67111e3f1a67e4679832add Mon Sep 17 00:00:00 2001 From: Chongyu Zhu Date: Tue, 19 Feb 2019 21:08:07 +0800 Subject: [PATCH] nnn: install shell completions Closes #37097. Signed-off-by: Chongyu Zhu --- Formula/nnn.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Formula/nnn.rb b/Formula/nnn.rb index 0fb4e44325..e30e235368 100644 --- a/Formula/nnn.rb +++ b/Formula/nnn.rb @@ -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