summaryrefslogtreecommitdiff
path: root/dot_local/lib/sh
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--dot_local/lib/sh/rg.fish2
1 files changed, 2 insertions, 0 deletions
diff --git a/dot_local/lib/sh/rg.fish b/dot_local/lib/sh/rg.fish
new file mode 100644
index 0000000..6450fa2
--- /dev/null
+++ b/dot_local/lib/sh/rg.fish
@@ -0,0 +1,2 @@
+. hascmd rg || return
+test -f ~/.config/ripgrep.conf && set -gx RIPGREP_CONFIG_PATH ~/.config/ripgrep.conf