1
0
Fork 0
mirror of https://github.com/notwa/rc synced 2024-05-18 01:53:22 -07:00

increase number of fzy lines in ff

This commit is contained in:
Connor Olding 2021-10-04 17:05:43 -07:00
parent ac88e80c60
commit 869df527ec

2
sh/ff
View File

@ -8,7 +8,7 @@ ff() { ### @-
### select a file from a given or current directory using
### [`fzy`.](https://github.com/jhawthorn/fzy)
[ $# -le 1 ] || { printf "%s\n" "$0: too many arguments" >&2; return 1; }
find "${1:-.}" -type f | fzy
find "${1:-.}" -type f | fzy -l 23
}
[ -n "${preload+-}" ] || ff "$@"