From 3a3e9ecec383859e505fe5b63cc4792e3a56522d Mon Sep 17 00:00:00 2001 From: Sergey Matveev Date: Fri, 24 Dec 2021 12:34:55 +0300 Subject: [PATCH] Follow symlinks by default --- tmux/bin/tmux-fzf.zsh | 2 +- zsh/.zsh/functions/f | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tmux/bin/tmux-fzf.zsh b/tmux/bin/tmux-fzf.zsh index bdf316c..7f119cb 100755 --- a/tmux/bin/tmux-fzf.zsh +++ b/tmux/bin/tmux-fzf.zsh @@ -7,7 +7,7 @@ trap "rm -f $tmp" HUP PIPE INT QUIT TERM EXIT case $1 in (find) - bfs . -mindepth 1 \ + bfs -L . -mindepth 1 \ -path "*/.git" -prune -o \ -path "*/.redo" -prune -o \ \( -type f -o -type d -o -type l \) -print | diff --git a/zsh/.zsh/functions/f b/zsh/.zsh/functions/f index 5f02d04..265465f 100644 --- a/zsh/.zsh/functions/f +++ b/zsh/.zsh/functions/f @@ -1 +1 @@ -bfs . -name "*$1*" -print +bfs -L . -name "*$1*" -print -- 2.44.0