Building rfig: a Rust terminal autocomplete and open-source Fig alternative
说明与用途
rfig 是一个用 Rust 编写的开源终端自动补全工具,提供 IDE 风格的命令补全,而不替换现有 shell。它支持 macOS 和 Linux 上的 zsh、Bash 4.4+ 以及 Fish 3.6+,提供带嵌套子命令、动态参数和基于历史的自动建议的补全菜单。
问题
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