Add some ripgrep smart casing and a RIPGREP config

This commit is contained in:
Tony Blyler 2023-06-16 13:29:48 -04:00
parent 800c69107c
commit 673ef32dd0
2 changed files with 5 additions and 0 deletions

View file

@ -9,6 +9,10 @@ for editor in nvim vim nano; do
fi fi
done done
if command -v rg &> /dev/null; then
export RIPGREP_CONFIG_PATH="${HOME}/.config/ripgrep/ripgreprc"
fi
# if we're in vs code's terminal, set the editor to vs code # if we're in vs code's terminal, set the editor to vs code
if [ "${TERM_PROGRAM:-noop}" = "vscode" ]; then if [ "${TERM_PROGRAM:-noop}" = "vscode" ]; then
if [[ "$TERM_PROGRAM_VERSION" =~ -insider$ ]] && command -v code-insiders &> /dev/null; then if [[ "$TERM_PROGRAM_VERSION" =~ -insider$ ]] && command -v code-insiders &> /dev/null; then

View file

@ -0,0 +1 @@
--smart-case