# fzf

> For the complete documentation index, see [llms.txt](https://docs.ringleader.dev/llms.txt).


> The fzf fuzzy finder, with key bindings and completion wired into login shells.


Installs `fzf` **and** its shell integration, so `Ctrl-R` fuzzy history search works
in a fresh login shell without any dotfile of your own.

```yaml
devtools:
  - name: fzf
```

## Version behavior

| `version` | Result |
|-----------|--------|
| omitted | the distribution's `fzf` package |
| `0.56.3` or `v0.56.3` | the official upstream release tarball for the workstation's architecture |

## Updates

Without a `version`, fzf comes from the distribution's packages, so it moves with the
[operating system updates](https://docs.ringleader.dev/reference/tools/devtools/#operating-system-updates) the workstation applies. An upstream release you pinned
with `version` stays on it.

## Shell integration

Either path then installs a system-wide shell snippet that loads fzf's key bindings
and completion for `bash` and `zsh` in interactive shells. A non-interactive
`bash -lc` stays quiet.

## Example

```yaml
identity:
  shell: /bin/bash
devtools:
  - name: kubectl
  - name: kubectx
  - name: kubens
  - name: fzf         # kubectx/kubens use fzf for interactive selection
```

## Notes

- Works on Debian, Ubuntu, and Alpine.
- A workstation that already has `fzf` on PATH is skipped, so changing `version` moves
  only workstations that do not have it yet.
- The integration snippet is rewritten on every setup run, so it is safe to remove or
  edit by hand while experimenting.

