From 143377611d6f6a6d8a70b9efb658a9ac426d3e45 Mon Sep 17 00:00:00 2001 From: Alpha Chen Date: Fri, 12 Jul 2024 15:50:02 -0700 Subject: [PATCH] ripgreprc --- .zshrc | 1 + ripgreprc | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 ripgreprc diff --git a/.zshrc b/.zshrc index 616b229..ed5d678 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 0000000..530f476 --- /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