Termhint Get Termhint

Terminals · Alacritty

Alacritty autocomplete: a zsh popup at the cursor

Last checked 20 November 2026

In short: Termhint adds a zsh autocomplete popup at the cursor in Alacritty on a Mac, without the Accessibility permission. Alacritty has no split panes of its own; run tmux in it for splits. Termhint can also write its color scheme into alacritty.toml and switch Alacritty to the Nerd Font build of its font for prompt icons.

Set up Alacritty autocomplete for zsh

  1. Download Termhint, move it to Applications and open it. On launch it adds one marked block to ~/.zshrc, backed up first.
  2. Termhint shows macOS's Accessibility prompt at first launch; Alacritty doesn't need it, so you can decline it (permissions).
  3. Open a new Alacritty window. Ones that were open before Termhint set up zsh don't have it yet.
  4. Type git ch. The popup opens under the cursor; Tab, the arrows, Esc and Enter go to it only while it is open.

How it finds the cursor in Alacritty

On every edit zsh asks Alacritty for the cursor cell and the cell size with standard, invisible queries (about a millisecond; keys typed meanwhile are kept). Termhint places the popup in the window by Alacritty's default layout: no padding, the grid starting at the top left. The window's frame is public, so no permission is involved.

Alacritty's layout has not been tested on screen yet, so the popup can sit a little off. Custom window padding shifts it too.

What else Termhint sets in Alacritty

Limits in Alacritty

Not working?

More fixes: terminal autocomplete not working and troubleshooting. Similar terminals: kitty and WezTerm, which has split panes without a permission.

FAQ

Does Termhint need Accessibility in Alacritty?

No. zsh asks Alacritty for the cursor cell and the cell size with standard queries, and Termhint places the popup in the window, whose frame is public.

Can I use split panes with the popup in Alacritty?

Alacritty has no split panes of its own. Run tmux in it: tmux says where each of its panes sits, so the popup follows you between them.

Can Termhint write colors into alacritty.toml?

Yes. termhint colors native alacritty puts the scheme in a file beside alacritty.toml and imports it under [general], backed up first; termhint colors native off alacritty takes it out again.

Why does Alacritty need a Nerd Font for icons?

Alacritty draws with one font, so the icons must be in it. Termhint switches font.normal.family to the Nerd Font build of your font, such as Meslo for Menlo.

Download for Mac All supported terminals