Files
tldr/pages/common/fzf.md
pixel 263508cd44 *: replace file(s) syntax and add path/to/ to more things (#9592)
* Fix file(s) and more path/to

* Update pages.it/common/rm.md

Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com>

* thanks emily your suggestion was dogshit

https://github.com/tldr-pages/tldr/blob/main/contributing-guides/translation-templates/common-arguments.md

Co-authored-by: Emily Grace Seville <EmilySeville7cfg@gmail.com>
2022-12-06 16:47:56 +10:00

30 lines
678 B
Markdown

# fzf
> Command-line fuzzy finder.
> Similar to `sk`.
> More information: <https://github.com/junegunn/fzf>.
- Start fzf on all files in the specified directory:
`find {{path/to/directory}} -type f | fzf`
- Start fzf for running processes:
`ps aux | fzf`
- Select multiple files with `Shift + Tab` and write to a file:
`find {{path/to/directory}} -type f | fzf --multi > {{path/to/file}}`
- Start fzf with a specified query:
`fzf --query "{{query}}"`
- Start fzf on entries that start with core and end with either go, rb, or py:
`fzf --query "^core go$ | rb$ | py$"`
- Start fzf on entries that not match pyc and match exactly travis:
`fzf --query "!pyc 'travis"`