From 1f43ea8730f647ab62c6f4fa7f15ee9e26ddec90 Mon Sep 17 00:00:00 2001 From: Lukas Wurzinger Date: Thu, 19 Dec 2024 01:42:54 +0100 Subject: [PATCH] RIPGREP_CONFIG_PATH --- home/fish/.config/fish/config.fish | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/home/fish/.config/fish/config.fish b/home/fish/.config/fish/config.fish index c95a641..b4135c8 100644 --- a/home/fish/.config/fish/config.fish +++ b/home/fish/.config/fish/config.fish @@ -12,6 +12,12 @@ if status is-interactive set fish_cursor_replace_one underscore blink set fish_cursor_visual block + if set -q XDG_CONFIG_HOME + set -x RIPGREP_CONFIG_PATH $XDG_CONFIG_HOME/ripgrep/ripgreprc + else + set -x RIPGREP_CONFIG_PATH ~/.config/ripgrep/ripgreprc + end + if type -q direnv direnv hook fish | source end