Terminals · Tabby
Tabby terminal autocomplete: a zsh popup at the cursor
Last checked 20 November 2026
In short: Termhint adds a zsh autocomplete popup at the cursor in Tabby on a Mac. Tabby is an Electron app, so Termhint needs the Accessibility permission there to find the cursor. For prompt icons, Termhint sets a Nerd Font as Tabby's fallback font while Tabby is quit. The popup hasn't been tried in Tabby yet.
Set up Tabby autocomplete for zsh
- Download Termhint, move it to Applications and open it. On launch it adds one marked block to
~/.zshrc, backed up first. - Allow Termhint in System Settings → Privacy & Security → Accessibility. Termhint shows macOS's prompt on first launch, and notices the change without a restart (permissions).
- Open a new Tabby tab with a zsh profile. Tabs that were open before Termhint set up zsh don't have it yet.
- Type
makein a project with a Makefile. The popup lists its targets with the text after##as their description; Tab, the arrows, Esc and Enter go to it only while it is open.
How it finds the cursor in Tabby
Tabby draws its terminal in a web view. Termhint turns on Electron's accessibility tree in Tabby (the switch meant for this, not the screen-reader one) and reads the cursor from the terminal's hidden text field, which sits on the cursor cell. That is why Accessibility is needed.
Termhint reads the terminal text field that has focus. The popup hasn't been tried in Tabby yet, split panes included.
What else Termhint sets in Tabby
- Icons:
termhint icons on tabbysetsterminal.fallbackFontin~/Library/Application Support/tabby/config.yamlto the icons font, so your own font stays for the text;termhint icons off tabbyputs it back. Tabby writes its settings back when it quits, so Termhint changes them only while Tabby is not running, andtermhint icons setupskips it while it runs. - Font:
termhint icons font on tabbysets the Nerd Font you chose asterminal.font; quit Tabby first. - Colors, prompt themes and tab titles, set by the shell; Termhint doesn't write colors into Tabby's config. See terminal colors.
- Live values: git branches, ssh hosts, Docker containers and Makefile targets, read by Termhint itself. Bundled completions cover 3,272 commands.
Limits in Tabby
- The popup needs Accessibility in Tabby.
- The popup hasn't been tried in Tabby yet, split panes included.
- Icons and the font change only while Tabby is quit.
- Turning icons on in Tabby is tested against its config file, not yet on a real screen.
- zsh only, Apple silicon, macOS 14 or later. Inside tmux it works, still with Accessibility; not inside GNU screen.
Not working?
- No popup: check that Termhint is allowed Accessibility, and that the tab runs zsh. If Accessibility shows as on and the panel still asks for it, remove Termhint from that list and allow it again.
- Icons still boxes: quit Tabby, run
termhint icons on tabby, then open Tabby again. - The panel under Termhint's menu-bar icon shows whether autocomplete is on, the one step left if it is not, and the terminal tabs connected.
- Esc hides the popup until the line changes.
More fixes: terminal autocomplete not working and troubleshooting. Another Electron terminal: Hyper. Without a permission: WezTerm.
FAQ
Does Termhint need Accessibility in Tabby?
Yes. Tabby is an Electron app: Termhint turns on its accessibility tree and reads the terminal cursor from it.
Does the popup work in Tabby's split panes?
Termhint reads the terminal text field that has focus. The popup hasn't been tried in Tabby yet, split panes included.
Why must Tabby be quit to turn icons on?
Tabby writes its settings back to config.yaml when it quits, which would undo Termhint's change. So Termhint sets the fallback font only while Tabby is not running.