en3sis/figxit
À propos
Native autocomplete popup for the macOS terminal. The completion part of Fig, rebuilt as a local app. No account, no AI, no telemetry.
Outils de développementWhat you can do
- Commands you run, with their icons: type p for python3, pnpm, psql
- Subcommands and options for 700+ tools: git ch, docker run --
- Live values: git branches, SSH hosts, files and folders
- Makefile targets and package.json scripts, with their help text
Progression mesurée des étoiles
- in 24h
- +2
- in 7 days
- +11
- in 15 days
- +26
- in 1 month
- Historique en cours
Variations nettes sur des périodes qui se chevauchent, pas des totaux quotidiens. Les mesures absentes restent vides. Les étoiles indiquent l’intérêt, pas la qualité.
README.md
OriginalFigxit
IDE autocomplete for your terminal on macOS. As you type in zsh, bash, or fish, Figxit lists subcommands, options, files, Makefile targets, and package.json scripts, ranked by what you use in the current project.
Free and open source. No account, no AI chat, no telemetry.

Features
- Commands you run, with their icons: type
pforpython3,pnpm,psql - Subcommands and options for 700+ tools:
git ch,docker run -- - Live values: git branches, SSH hosts, files and folders
- Makefile targets and
package.jsonscripts, with their help text - Ranked by your history in the current folder, with Atuin
- Red icons for production: Enter inserts those rows without running them
- Your aliases:
k getcompletes likekubectl get, andgit colikegit checkout - zoxide:
z racklists the folderszwould jump to - zsh, bash, and fish, in Ghostty, iTerm2, Terminal, tmux, and the terminals of VS Code, Cursor, Zed (experimental), and Herdr.app (experimental)
Why it exists
Fig put autocomplete in the terminal: type git and see every subcommand with a short description. Fig joined AWS in 2023 and shut down in September 2024. Its autocomplete moved to Amazon Q Developer CLI, then to Kiro CLI, and Kiro CLI 3.0 removed it in November 2026 with no replacement.
Figxit is a direct replacement for that autocomplete on macOS: a native app, open source, and maintained.
The open alternatives each miss a part:
- Shell completion opens only when you press Tab, and does not know what you use most.
- Tools that draw the list inside the terminal have to wrap your shell.
- History search finds past commands, but does not show what a command can do.
Figxit does all three: the list opens as you type, it knows 700+ tools, and your history sets the order.
What it does
Subcommands and options
Figxit uses the open source Fig specs for 700+ tools. Type a command and a space for its subcommands, or a dash for its options.
Specs also fill in live values: git branches after git checkout , hosts after ssh , files and folders where a command takes a path. Your git and gh aliases work too: git co completes like git checkout . So do your shell aliases and fish abbreviations: with alias k=kubectl, k get completes like kubectl get . For a shell function or anything else your shell doesn't list as an alias, add a line like k=kubectl to ~/.config/figxit/aliases. The file takes the lines alias prints, its lines win over your shell's aliases, and edits apply right away.
Makefile targets and scripts
make lists the targets in the current folder, with their help text. npm run , pnpm , yarn , and bun run list the scripts in package.json, with the command each one runs. See Conventions for the help text and the icons.
Ranking from your history
With Atuin installed, Figxit reads your history (read-only). Words you used in this folder, in this repository, or recently come first. Without Atuin, the list still works.
zoxide
z rack lists the folders zoxide matches, in the order z would jump.
Conventions
Figxit follows conventions many projects already use. All of them are optional.
Makefile help text
##@ Development
dev: ## Start the stack with hot reload
test: ## Run the unit tests
##@ Release
release: ## [prod] Publish the app
| You write | Figxit shows |
|---|---|
##@ Development |
A section name in front of the targets below it |
dev: ## Start the stack |
"Start the stack" as the description of dev |
release: ## [prod] Publish the app |
A red icon on release. The tag itself is hidden |
The tags are [prod], [production], [danger], and [caution], at the start of the help text.
Red icon for production
A row gets a red icon when:
| Rule | Examples |
|---|---|
| The name is in capitals | SSH host PROD, target DEPLOY |
The name has the word prod or production |
deploy:prod, api-prod, prod-db-1 |
| A Makefile target has a tag in its help text | release: ## [prod] Publish the app |
It applies to Makefile targets, package.json scripts, and live values like SSH hosts and Docker contexts. It does not apply to files, subcommands, options, or your history. Enter inserts a red row without running it.
Icons from the name
A verb in a target or script name picks the icon: dev, start, and serve get play, test a check, build a hammer, lint a wand, db:migrate a database, and dev-down a stop. The list is in engine/src/verbs.ts.
Install
Download Figxit.dmg, open it, and move Figxit to Applications. Or install it with Homebrew:
brew install --cask en3sis/tap/figxitOpen Figxit. The setup window shows one line for your shell. Click Add, or add it yourself:
# zsh, in ~/.zshrc eval "$('/Applications/Figxit.app/Contents/MacOS/figxit-engine' init zsh)" # bash, in ~/.bashrc eval "$('/Applications/Figxit.app/Contents/MacOS/figxit-engine' init bash)" # fish, in ~/.config/fish/conf.d/figxit.fish status is-interactive; and '/Applications/Figxit.app/Contents/MacOS/figxit-engine' init fish | sourceOpen a new terminal and type a command.
You need an Apple Silicon Mac with macOS 13 or later, and zsh, bash 5, or fish 4. The bash that comes with macOS is 3.2 and too old.
New versions install from the menu bar icon. If something looks off, run figxit doctor.
To hide the menu bar icon, turn off Show in menu bar in Settings. Run figxit open to show it again and open Settings.
Keys
| Key | What it does |
|---|---|
| Up, Down | Move through the list |
| Tab | Insert the row |
| Enter | Insert the row and run the line. Turn this off in Settings to only insert |
| Esc | Close the list |
When the list is closed, your keys work as before.
After Esc, the shell waits to tell it apart from arrow keys: 400 ms in zsh, 500 ms in bash. Figxit sets this wait to 50 ms, unless you set your own KEYTIMEOUT (zsh) or keyseq-timeout (bash), or you have a key binding of two or more keys that starts with a letter, like jk.
Works with
| Supported | |
|---|---|
| Shells | zsh, bash 5 or later, fish 4 or later |
| Terminals | Ghostty, iTerm2, Terminal. Herdr.app, experimental, with the same setting as Zed |
| Editors | VS Code and Cursor, with Accessibility. Zed, experimental, with a setting |
| Multiplexers | tmux and herdr, in any terminal app |
| Not tested yet | WezTerm, Alacritty, and kitty without tmux, other editors built on VS Code, JetBrains IDEs |
Split panes and the terminal in VS Code or Cursor need Accessibility. Zed and Herdr.app need a setting. See below.
Extra completions
The completions for the AWS CLI (37 MB), the Azure CLI (13 MB), and the Google Cloud CLI (14 MB) are not in the app, to keep it small. Download them in Settings > Extra completions, or in the terminal:
figxit extras # list them
figxit extras add aws # download one
figxit extras remove aws # remove it
Until you download one, typing aws (or az , gcloud ) shows a row to download it at the top of the list. Pick it with Tab, or with the arrow keys and Enter. It stops showing after five times if you don't pick it.
Panes, editors, and Accessibility
To place the list, Figxit needs to know where the text area of your terminal is on screen. Without Accessibility, macOS only tells it where the window is. That is enough when one shell fills the window, but not when the window has more than one text area.
These work without Accessibility:
- one shell in each window or tab
- tmux panes, because tmux reports where the pane is
- herdr panes, because herdr reports where the pane is
These need Accessibility, and the list stays hidden without it:
- a split of the terminal app, like Cmd+D in iTerm2 or Ghostty, with or without tmux
- one tmux session attached in two splits (the list shows in the focused one)
- the terminal in VS Code or Cursor, with or without tmux
To allow it, click Allow… in Figxit Setup or in Settings, then turn on Figxit in System Settings > Privacy & Security > Accessibility (called Device Control and Data Access in macOS 27). Figxit opens Setup the first time it finds one of these terminals without the permission, and figxit doctor shows the state.
Figxit uses Accessibility to read the position and size of the focused text area, nothing else. It does not read the text, and it does not click or type. In editors built on Electron, like VS Code, it also turns on the accessibility tree the first time you type in the terminal, so the first list after the editor starts can be missing.
Splits are tested in iTerm2 and Ghostty, and editor terminals in VS Code and Cursor. Other editors built on VS Code use the same terminal but are not tested yet.
Zed and Herdr.app (experimental)
Zed and Herdr.app report only their window to Accessibility, not their terminal panes. To place the list in their terminals, turn on Settings > Experimental > Zed and Herdr terminals, then quit and reopen the app. If macOS asks whether to allow Figxit Input, click Allow.
The setting adds a hidden input method, the macOS component that also places the window of Chinese and Japanese input next to the text cursor. Figxit uses it only to ask the app where its text cursor is. It does not read or change what you type, and your keyboard layout stays as it is. Fig and Amazon Q used the same method.
Turning the setting off removes the input method. Accessibility is not needed for these apps. Tested in Zed 1.27 on macOS 27. Herdr.app is not tested yet.
How it works
Figxit has three parts that talk over local sockets:
flowchart LR
shell["Shell script<br>zsh, bash, fish"] -- "line and cursor" --> engine["Engine<br>Bun"]
engine -- "rows" --> app["App<br>Swift"]
engine -- "text to insert" --> shell
- Shell script (
shell/): sends the line to the engine after each key, without waiting. It waits only when you press Tab or Enter with the list open. - Engine (
engine/): keeps the specs and your history in memory, builds the list, and ranks it. Values that need a command, like git branches, arrive a moment later, so the first rows are never slow. - App (
helper/): a menu bar app that draws the list under the cursor without taking focus, and restarts the engine if it stops.
Specs maintained by Figxit, for tools Fig does not cover well, live in engine/src/figxit/.
Limits
- macOS only.
- Without Accessibility, the list stays hidden in split panes of the terminal app and in editor terminals.
- The terminals in Zed and Herdr.app need the experimental Zed and Herdr terminals setting.
- fish: the list is off in vi mode.
- Outside tmux, the terminal must report its cursor position.
- Values that need a live service, like
kubectl get, show nothing if the service does not answer in 1.5 seconds.
Privacy
Figxit runs on your Mac. It reads your shell history and the files in the current folder, and sends neither anywhere.
Figxit makes two kinds of network requests, both to figxit.com:
- The daily update check, which reads one file. I count those checks and the app downloads by version and date, with no IP address and no identifier. You can turn the check off in Settings.
- Extra completions, only the ones you download. When an app update changes one you have, the engine downloads the new version.
Words from your history that look like secrets, such as a --token value or API_KEY=..., are not shown.
Development
cd engine && bun install # once
make dev # run the app from source, with reload
make test # unit tests
make build # build dist/Figxit.app
You need Bun and the Xcode command line tools.
Credits
Completion specs from withfig/autocomplete (MIT). Tool icons from Simple Icons (CC0), and the logos belong to their owners. Updates by Sparkle (MIT).
Figxit is not affiliated with Fig, Amazon, or Kiro.
Licence
MIT. See LICENSE.
Explorer des projets similaires
Chargement…