Building rfig: a Rust terminal autocomplete and open-source Fig alternative
Описание и применение
rfig — это открытый проект автокомплита терминала, написанный на Rust, который обеспечивает автодополнение команд в стиле IDE, не заменяя оболочку. Он поддерживает zsh, Bash 4.4+ и Fish 3.6+ на macOS и Linux, предлагая меню автокомплита с вложенными подкомандами, динамическими аргументами и автосуггестиями, основанными на истории.
Задача
Need IDE‑style command completion in the terminal without replacing the shell that runs commands.
Результат
rfig delivers IDE‑style completion in the terminal, offering nested subcommands, dynamic arguments, and history‑based autosuggestions without replacing the underlying shell.
Рабочий процесс
- Install rfig via Homebrew:
brew install tamia6/tap/rfig rfig setup - Open a new shell
- Start typing to see completion menu and autosuggestions
Доказательства
I built rfig because I wanted IDE‑style completion in the terminal without replacing the shell that actually runs my commands.
rfig is an independent, open‑source terminal autocomplete project inspired by Fig.
Shows a completion menu as you type, with nested subcommands and dynamic arguments when the installed completion source provides them.
Adds directory‑scoped, history‑based autosuggestions as inline gray text.
brew install tamia6/tap/rfig rfig setup
- Дата записи: 2026-10-08T06:41:57.804Z