ripgreprc
change
commit 143377611d6f6a6d8a70b9efb658a9ac426d3e45
author Alpha Chen <alpha@kejadlen.dev>
date
parent 96902cd3
diff --git a/.zshrc b/.zshrc
index 616b2291..ed5d6785 100644
--- a/.zshrc
+++ b/.zshrc
@@ -92,6 +92,7 @@ export FZF_TMUX_OPTS="-p80%,60%"
 export FZF_DEFAULT_COMMAND="fd --type f --strip-cwd-prefix --hidden --follow --exclude .git"
 export FZF_CTRL_T_COMMAND="$FZF_DEFAULT_COMMAND"
 export FZF_ALT_C_COMMAND="fd --type d --strip-cwd-prefix --hidden --follow --exclude .git"
+export RIPGREP_CONFIG_PATH=~/.dotfiles/ripgreprc
 
 export RUBY_YJIT_ENABLE=true
 
diff --git a/ripgreprc b/ripgreprc
new file mode 100644
index 00000000..530f4762
--- /dev/null
+++ b/ripgreprc
@@ -0,0 +1,6 @@
+# otherwise .github is ignored
+--hidden
+
+# ignore .git, now that we're searching hidden files/directories
+--glob
+!.git/*
\ No newline at end of file