From: Sergey Matveev Date: Fri, 24 Dec 2021 09:34:55 +0000 (+0300) Subject: Follow symlinks by default X-Git-Url: http://www.git.stargrave.org/?p=dotfiles.git;a=commitdiff_plain;h=3a3e9ecec383859e505fe5b63cc4792e3a56522d Follow symlinks by default --- 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