X-Git-Url: http://www.git.stargrave.org/?p=dotfiles.git;a=blobdiff_plain;f=bin%2Fbin%2Ftmux-fzf.zsh;fp=bin%2Fbin%2Ftmux-fzf.zsh;h=bdf316c331383d96c55550682a00653b8369478e;hp=eb66b31d90a53be5d5d96d7220132f6a38c386f6;hb=034ee63ce9336b2b5c7a4991538e6a7d51a781a0;hpb=979956ac030dee4257cf635fb33aa4bfd9ca2281 diff --git a/bin/bin/tmux-fzf.zsh b/bin/bin/tmux-fzf.zsh index eb66b31..bdf316c 100755 --- a/bin/bin/tmux-fzf.zsh +++ b/bin/bin/tmux-fzf.zsh @@ -7,7 +7,9 @@ trap "rm -f $tmp" HUP PIPE INT QUIT TERM EXIT case $1 in (find) - find . -mindepth 1 -path "*/.git" -prune -o \ + bfs . -mindepth 1 \ + -path "*/.git" -prune -o \ + -path "*/.redo" -prune -o \ \( -type f -o -type d -o -type l \) -print | cut -c3- | fzf -m --preview="less -N -S {}" | while read fn ; do print ${(q)fn} ; done > $tmp