Update cheatsheets

This commit is contained in:
ivuorinen
2024-02-21 11:19:49 +00:00
parent 4e88a1b42f
commit 3d653cc7e6
4803 changed files with 127002 additions and 0 deletions

34
fzf Normal file
View File

@@ -0,0 +1,34 @@
---
syntax: markdown
tags: [tldr, common]
source: https://github.com/tldr-pages/tldr.git
---
# 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"`