summaryrefslogtreecommitdiff
path: root/ar/.local/bin/tmuxopen
diff options
context:
space:
mode:
authorTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-06-21 00:57:19 +0900
committerTheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com>2025-06-21 00:57:19 +0900
commitbf4e657b53d3ee2d6e55edebc57a040e18e48806 (patch)
tree5e116ca613454cb525e0af1b96b33d52faffe1c0 /ar/.local/bin/tmuxopen
parent900cae0fe898461c5cd043bbb8d23ffa156a1024 (diff)
modified bin/tmuxopen
Diffstat (limited to 'ar/.local/bin/tmuxopen')
-rwxr-xr-xar/.local/bin/tmuxopen10
1 files changed, 5 insertions, 5 deletions
diff --git a/ar/.local/bin/tmuxopen b/ar/.local/bin/tmuxopen
index 7eab99f..1dce717 100755
--- a/ar/.local/bin/tmuxopen
+++ b/ar/.local/bin/tmuxopen
@@ -28,15 +28,15 @@ debug() {
}
get_fzf_output() {
- RG_BIND="ctrl-g:reload:rg --line-number --no-heading --color=always --smart-case --glob '!**/.git/**' --glob '!node_modules/**' '' 2>/dev/null || true"
- FILE_BIND="ctrl-f:reload:rg --files --glob '!**/.git/**' --glob '!node_modules/**' 2>/dev/null || true"
+ RG_BIND="ctrl-g:reload:rg --line-number --follow --no-heading --color=always --smart-case --glob '!**/.git/**' --glob '!node_modules/**' '' 2>/dev/null || true"
+ FILE_BIND="ctrl-f:reload:rg --follow --files --glob '!**/.git/**' --glob '!node_modules/**' 2>/dev/null || true"
if command -v fd >/dev/null 2>&1; then
- DIR_BIND="ctrl-d:change-prompt(directory> )+reload(cd \"$HOME\" && echo \"$HOME\"; fd --type d --hidden --absolute-path --color never --exclude .git --exclude node_modules)"
+ DIR_BIND="ctrl-d:change-prompt(directory> )+reload(cd \"$HOME\" && echo \"$HOME\"; fd --follow --type d --hidden --absolute-path --color never --exclude .git --exclude node_modules)"
else
- DIR_BIND="ctrl-d:change-prompt(directory> )+reload(cd \"$HOME\" && find \"$HOME\" -type d -name node_modules -prune -o -name .git -prune -o -type d -print)"
+ DIR_BIND="ctrl-d:change-prompt(directory> )+reload(cd \"$HOME\" && find \"$HOME\" -L -type d -name node_modules -prune -o -name .git -prune -o -type d -print)"
fi
- rg --line-number --no-heading --color=always --smart-case --glob '!**/.git/**' --glob '!LICENSE' '' 2>/dev/null |
+ rg --line-number --follow --no-heading --color=always --smart-case --glob '!**/.git/**' --glob '!LICENSE' '' 2>/dev/null |
fzf-tmux \
--ansi --multi --delimiter : \
--reverse \