summaryrefslogtreecommitdiff
path: root/ar/.local/bin/rgafiles
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2026-02-10 15:10:33 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2026-02-10 15:10:33 +0900
commit9d1f41397de1f58f158f9af0b73ed9d30e5027a5 (patch)
tree09feedd5c811de5e30654f028d1d381e6c77f589 /ar/.local/bin/rgafiles
parent7cddd694437fce9e61849d3a98349cf0fe1faffb (diff)
modified lf/scope, modified bin/dmenusmbadd, modified bin/rgafiles, modified bin/ylogHEADmaster
Diffstat (limited to 'ar/.local/bin/rgafiles')
-rwxr-xr-xar/.local/bin/rgafiles10
1 files changed, 6 insertions, 4 deletions
diff --git a/ar/.local/bin/rgafiles b/ar/.local/bin/rgafiles
index 1a396df..fe61604 100755
--- a/ar/.local/bin/rgafiles
+++ b/ar/.local/bin/rgafiles
@@ -37,16 +37,17 @@ search_term() {
# Construct the preview command
preview_cmd=$(printf "rga %s --pretty --context 10 '%s' {}" "$case_flag" "$*")
rga_output=$(rga --follow --no-ignore --hidden --text --max-count=1 ${case_flag:+$case_flag} --files-with-matches --no-messages \
+ --glob '!**/.cache/*' \
--glob '!**/.git/*' \
- --glob '!**/node_modules/*' \
+ --glob '!**/.github/*' \
--glob '!**/.next/*' \
- --glob '!**/dist/*' \
+ --glob '!**/.venv/*' \
--glob '!**/build/*' \
- --glob '!**/.cache/*' \
--glob '!**/coverage/*' \
+ --glob '!**/dist/*' \
+ --glob '!**/node_modules/*' \
--glob '!**/target/*' \
--glob '!**/vendor/*' \
- --glob '!**/.venv/*' \
--glob '!**/venv/*' \
"$*")
@@ -83,6 +84,7 @@ list_or_open_project_files() {
rga_result=$(rga --follow --no-ignore --hidden --text --max-count=1 --files-with-matches --no-messages \
--glob '!**/.cache/*' \
--glob '!**/.git/*' \
+ --glob '!**/.github/*' \
--glob '!**/.next/*' \
--glob '!**/.venv/*' \
--glob '!**/build/*' \