mirror of
https://github.com/tldr-pages/tldr.git
synced 2024-12-26 02:12:16 +03:00
fzf: add page
This commit is contained in:
parent
08d9c7f342
commit
ee92bc7488
27
pages/common/fzf.md
Normal file
27
pages/common/fzf.md
Normal file
@ -0,0 +1,27 @@
|
||||
# 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:
|
||||
|
||||
`ps axu | fzf`
|
||||
|
||||
- Select mutliple 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"`
|
Loading…
Reference in New Issue
Block a user