1
0
Fork 0
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:
Muhammad Falak R Wani 2021-06-11 18:52:21 +05:30 committed by GitHub
parent c56a28bc7f
commit 2aa806202d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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"`