summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTareq A Khandaker <tareqak@users.noreply.github.com>2017-01-17 16:58:32 -0800
committerAndrew Gallant <jamslam@gmail.com>2017-01-18 18:39:11 -0500
commit596f94aa7f62cdf24337cb1b76069abe8312b16c (patch)
tree3002946fd7bfd79499724cf63cbac90599c19787
parentde55d37beaff58e02703530df96479af716b78f4 (diff)
Add shell completion files to ripgrep-bin.rb
-rw-r--r--pkg/brew/ripgrep-bin.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkg/brew/ripgrep-bin.rb b/pkg/brew/ripgrep-bin.rb
index 03b5b127..3a460b3c 100644
--- a/pkg/brew/ripgrep-bin.rb
+++ b/pkg/brew/ripgrep-bin.rb
@@ -10,5 +10,9 @@ class RipgrepBin < Formula
def install
bin.install "rg"
man1.install "rg.1"
+
+ bash_completion.install "completion/rg.bash-completion"
+ fish_completion.install "completion/rg.fish"
+ zsh_completion.install "completion/_rg"
end
end