diff options
Diffstat (limited to '')
| -rw-r--r-- | dot_local/share/sh/rg | 2 | ||||
| -rw-r--r-- | dot_local/share/sh/rg.fish | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/dot_local/share/sh/rg b/dot_local/share/sh/rg new file mode 100644 index 0000000..77a05e3 --- /dev/null +++ b/dot_local/share/sh/rg @@ -0,0 +1,2 @@ +. hascmd rg || return +[ -f ~/.config/ripgrep.conf ] && export RIPGREP_CONFIG_PATH=~/.config/ripgrep.conf diff --git a/dot_local/share/sh/rg.fish b/dot_local/share/sh/rg.fish new file mode 100644 index 0000000..6450fa2 --- /dev/null +++ b/dot_local/share/sh/rg.fish @@ -0,0 +1,2 @@ +. hascmd rg || return +test -f ~/.config/ripgrep.conf && set -gx RIPGREP_CONFIG_PATH ~/.config/ripgrep.conf |
