1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-03-28 21:16:20 +01:00
tldr/pages/common/fzf.md
bl-ue 8ebd171d6f
*: fix typos reported by Hunspell (#5848)
Co-authored-by: marchersimon <50295997+marchersimon@users.noreply.github.com>
Co-authored-by: Seth Falco <seth@falco.fun>
Co-authored-by: Patrice Denis <patricedenis@users.noreply.github.com>
2021-05-20 16:13:41 -04:00

643 B

fzf

Command-line fuzzy finder. More information: https://github.com/junegunn/fzf.

  • Start finder on all files from arbitrary locations:

find {{path/to/search}} -type f | fzf

  • Start finder on running processes:

ps aux | fzf

  • Select multiple files with Shift + Tab and write to a file:

find {{path/to/search_files}} -type f | fzf -m > {{filename}}

  • Start finder with a given query:

fzf -q "{{query}}"

  • Start finder on entries that start with core and end with either go, rb, or py:

fzf -q "^core go$ | rb$ | py$"

  • Start finder on entries that not match pyc and match exactly travis:

fzf -q "!pyc 'travis"