dahlia / iterfzf

Pythonic interface to fzf, a CLI fuzzy finder
https://pypi.python.org/pypi/iterfzf
GNU General Public License v3.0
164 stars 19 forks source link

Allows using `--select-1` parameter to fzf #26

Closed daniel-kullmann closed 2 years ago

daniel-kullmann commented 3 years ago

This adds a select_1 parameter to iterfzf. If this parameter is added, the fzf command is called with the --select-1 parameter, which means that the command returns immediately when there is only one match.

TODO:

It would actually be nice if all parameters to fzf could be supported, by using a **kwargs parameter to iterfzf. This should be possible without too much effort: