fzf
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.
devtools:
- name: fzfVersion 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 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
identity:
shell: /bin/bash
devtools:
- name: kubectl
- name: kubectx
- name: kubens
- name: fzf # kubectx/kubens use fzf for interactive selectionNotes
- Works on Debian, Ubuntu, and Alpine.
- A workstation that already has
fzfon PATH is skipped, so changingversionmoves 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.