Add some ripgrep smart casing and a RIPGREP config
This commit is contained in:
parent
800c69107c
commit
673ef32dd0
2 changed files with 5 additions and 0 deletions
|
@ -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
|
||||||
|
|
1
chezmoi/private_dot_config/ripgrep/ripgreprc
Normal file
1
chezmoi/private_dot_config/ripgrep/ripgreprc
Normal file
|
@ -0,0 +1 @@
|
||||||
|
--smart-case
|
Loading…
Reference in a new issue