summaryrefslogtreecommitdiff
path: root/mac/.local
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-08-29 18:49:00 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-08-29 18:49:00 +0900
commit4c2e322fcd11c88a65e743d77b7e5d5d8f18be5b (patch)
treee5c0c50b49cbe45dabc02df8b559292086cc963f /mac/.local
parent86cff1f2b16670e1cfc2d40b359c057c29025165 (diff)
modified core/options.lua, modified plugins/telescope.lua, modified plugins/wiki.lua, modified aerospace/aerospace.toml, modified bin/rgafiles
Diffstat (limited to 'mac/.local')
-rwxr-xr-xmac/.local/bin/rgafiles4
1 files changed, 2 insertions, 2 deletions
diff --git a/mac/.local/bin/rgafiles b/mac/.local/bin/rgafiles
index ea02fc9..b7af594 100755
--- a/mac/.local/bin/rgafiles
+++ b/mac/.local/bin/rgafiles
@@ -32,7 +32,7 @@ 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 '!**/.git/*' "$*")
+ rga_output=$(rga --follow --no-ignore --hidden --text --max-count=1 ${case_flag:+$case_flag} --files-with-matches --no-messages --glob '!**/.git/*' --glob '!**/.next/*' --glob '!**/node_modules/*' "$*")
# Use fzf to select files
files=$(echo "$rga_output" | fzf-tmux +m --preview="$preview_cmd" --reverse --multi --select-1 --exit-0) || return 1
@@ -64,7 +64,7 @@ list_or_open_project_files() {
rga_output=""
for path in $project_paths; do
if [ -d "$path" ]; then
- rga_result=$(rga --follow --no-ignore --hidden --text --max-count=1 --files-with-matches --no-messages --glob '!**/.git/*' "$project_tag" "$path")
+ rga_result=$(rga --follow --no-ignore --hidden --text --max-count=1 --files-with-matches --no-messages --glob '!**/.git/*' --glob '!**/.next/*' --glob '!**/node_modules/*' "$project_tag" "$path")
rga_output="$rga_output $rga_result"
fi
done