summaryrefslogtreecommitdiff
path: root/dot_local/lib
diff options
context:
space:
mode:
authorChloe Kudryavtsev <toast@toast.cafe>2022-04-12 15:27:17 -0400
committerChloe Kudryavtsev <toast@toast.cafe>2022-04-12 15:27:17 -0400
commit91bb3269fe047b95851c8acae960a41f70b65b07 (patch)
tree9fee45fa3ce671b4b0b56445d272366880690a3d /dot_local/lib
parentdo you understand the sheer level of cursedness this is? (diff)
rg.fish: export doesn't expand ~ on fish
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