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