# HG changeset patch # User zegervdv # Date 1639037174 -3600 # Node ID 1403bfc694e4a7e96098979bb40217692ce6328e # Parent 18c6eb4d5c71eda3072881d9f0093a138bde9b86 Add ripgrep configuration file diff -r 18c6eb4d5c71 -r 1403bfc694e4 dot_bashrc --- a/dot_bashrc Fri Dec 10 10:17:42 2021 +0100 +++ b/dot_bashrc Thu Dec 09 09:06:14 2021 +0100 @@ -105,6 +105,8 @@ export EDITOR=nvim export HGEDITOR=nvim +export RIPGREP_CONFIG_PATH=$HOME/.config/ripgrep/ripgreprc + stty > /dev/null # Options diff -r 18c6eb4d5c71 -r 1403bfc694e4 dot_config/ripgrep/ripgreprc --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/dot_config/ripgrep/ripgreprc Thu Dec 09 09:06:14 2021 +0100 @@ -0,0 +1,11 @@ +# Only be case sensitive if a case is present +--smart-case + +# Limit output +--max-columns=150 +--max-columns-preview + +--type-add +hdl:*.{sv,vhd,v} +--type-add +rtl:*.rtl.{sv,vhd} diff -r 18c6eb4d5c71 -r 1403bfc694e4 dot_zshrc --- a/dot_zshrc Fri Dec 10 10:17:42 2021 +0100 +++ b/dot_zshrc Thu Dec 09 09:06:14 2021 +0100 @@ -208,6 +208,8 @@ export EDITOR=nvim export HGEDITOR=nvim +export RIPGREP_CONFIG_PATH=$HOME/.config/ripgrep/ripgreprc + [ -f ~/.fzf.zsh ] && source ~/.fzf.zsh export FZF_DEFAULT_COMMAND='ag -g ""' [ -f ~/.zshrc.local ] && source ~/.zshrc.local