mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-06-05 15:45:59 +02:00
fzf: refresh wording of examples (#6112)
Co-authored-by: Muhammad Falak Wani <mwani@microsoft.com>
This commit is contained in:
parent
c56a28bc7f
commit
2aa806202d
1 changed files with 11 additions and 10 deletions
|
@ -1,28 +1,29 @@
|
|||
# fzf
|
||||
|
||||
> Command-line fuzzy finder.
|
||||
> Similar to `sk`.
|
||||
> More information: <https://github.com/junegunn/fzf>.
|
||||
|
||||
- Start finder on all files from arbitrary locations:
|
||||
- Start fzf on all files in the specified directory:
|
||||
|
||||
`find {{path/to/search}} -type f | fzf`
|
||||
`find {{path/to/directory}} -type f | fzf`
|
||||
|
||||
- Start finder on running processes:
|
||||
- Start fzf for 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}}`
|
||||
`find {{path/to/directory}} -type f | fzf --multi > {{filename}}`
|
||||
|
||||
- Start finder with a given query:
|
||||
- Start fzf with a specified query:
|
||||
|
||||
`fzf -q "{{query}}"`
|
||||
`fzf --query "{{query}}"`
|
||||
|
||||
- Start finder on entries that start with core and end with either go, rb, or py:
|
||||
- Start fzf on entries that start with core and end with either go, rb, or py:
|
||||
|
||||
`fzf -q "^core go$ | rb$ | py$"`
|
||||
`fzf --query "^core go$ | rb$ | py$"`
|
||||
|
||||
- Start finder on entries that not match pyc and match exactly travis:
|
||||
- Start fzf on entries that not match pyc and match exactly travis:
|
||||
|
||||
`fzf -q "!pyc 'travis"`
|
||||
`fzf --query "!pyc 'travis"`
|
||||
|
|
Loading…
Add table
Reference in a new issue