General-purpose fuzzy finder. Filters any list interactively. Written in Go.
fzf # fuzzy-find files in current directory ls | fzf # fuzzy filter any piped list history | fzf # search shell history interactively
After $(fzf –bash) or sourcing the provided scripts:
| Key | Action |
|---|---|
Ctrl+r | Fuzzy search shell history |
Ctrl+t | Fuzzy find files, paste path to command line |
Alt+c | Fuzzy find directories, cd into selected |
fzf --preview 'bat --color=always --line-range :50 {}'
sudo apt install fzf # then add to ~/.bashrc: eval "$(fzf --bash)"