summaryrefslogtreecommitdiff
path: root/dot_local/lib/sh/rg
diff options
context:
space:
mode:
Diffstat (limited to 'dot_local/lib/sh/rg')
-rw-r--r--dot_local/lib/sh/rg2
1 files changed, 2 insertions, 0 deletions
diff --git a/dot_local/lib/sh/rg b/dot_local/lib/sh/rg
new file mode 100644
index 0000000..77a05e3
--- /dev/null
+++ b/dot_local/lib/sh/rg
@@ -0,0 +1,2 @@
+. hascmd rg || return
+[ -f ~/.config/ripgrep.conf ] && export RIPGREP_CONFIG_PATH=~/.config/ripgrep.conf