1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages/common/fzf.md

28 lines
588 B
Markdown
Raw Normal View History

2016-02-04 20:54:58 +01:00
# fzf
> Command line fuzzy finder.
- Start finder on all files from arbitrary locations:
`find {{path/to/search}} -type f | fzf`
- Start finder on running processes:
2017-12-18 14:03:49 +03:30
`ps aux | fzf`
2016-02-04 20:54:58 +01:00
2017-05-12 11:29:18 +02:00
- Select multiple files with `Shift + Tab` and write to a file:
2016-02-04 20:54:58 +01:00
`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"`