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:
parent
ac88e80c60
commit
869df527ec
2
sh/ff
2
sh/ff
|
@ -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 "$@"
|
||||
|
|
Loading…
Reference in New Issue
Block a user