Terminals · Hyper
Hyper 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 Hyper on a Mac. Hyper is an Electron app, so Termhint needs the Accessibility permission there to find the cursor. Prompt icons work once a Nerd Font is in Hyper's font list, which Termhint can add. The popup hasn't been tried in Hyper yet.
Set up Hyper 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 Hyper tab. Tabs that were open before Termhint set up zsh don't have it yet.
- Type
ssh. The popup lists your hosts from~/.ssh/configandknown_hosts; Tab, the arrows, Esc and Enter go to it only while it is open.
How it finds the cursor in Hyper
Hyper draws its terminal in a web view. Termhint turns on Electron's accessibility tree in Hyper (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 Hyper yet, split panes included.
What else Termhint sets in Hyper
- Icons: Hyper draws icons only with a font in its list.
termhint icons on hyperadds the icons font tofontFamilyin.hyper.js, before a generic family such asmonospace(in~/Library/Application Support/Hyper/, or your home folder for older Hyper versions);termhint icons off hyperputs it back. When.hyper.jsnames no font, set one in Hyper first. - Font:
termhint icons font on hyperputs the Nerd Font you chose first infontFamily; Hyper needn't be quit. - Colors, prompt themes and tab titles, set by the shell; Termhint doesn't write colors into
.hyper.js. 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 Hyper
- The popup needs Accessibility in Hyper.
- The popup hasn't been tried in Hyper yet, split panes included.
- Turning icons on in Hyper 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. If it shows as on and the panel still asks for it, remove Termhint from that list and allow it again.
- Open a new tab after installing.
- 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: Tabby. Without a permission: WezTerm.
FAQ
Does Termhint need Accessibility in Hyper?
Yes. Hyper is an Electron app: Termhint turns on its accessibility tree and reads the terminal cursor from it.
Does the popup work in Hyper's split panes?
Termhint reads the terminal text field that has focus. The popup hasn't been tried in Hyper yet, split panes included.
How do I get Nerd Font icons in Hyper?
Run termhint icons on hyper. It adds the icons font to fontFamily in .hyper.js, before a generic family such as monospace, and termhint icons off hyper puts it back.