community/fzf does't work by default
To reproduce:
$ doas apk add fzf
$ fzf
[Command failed: set -o pipefail; command find -L . -mindepth 1 \( -path '*/\.*' -o -fstype 'sysfs' -o -fstype 'devfs' -o -fstype 'devtmpfs' -o -fstype 'proc' \) -prune -o -type f -print -o -type l -print 2> /dev/null | cut -b3-]
This is due to the fact that the hardcoded fzf command line uses an option unsupported by busybox find (-fstype
).
The following changes would make fzf work by default:
- Make fzf depend on findutils (imho undesirable)
- Change the default hardcoded find command
Also note that the default command can be changed using the FZF_DEFAULT_COMMAND
environment variable.