Skip to content
hokan
On this page

Your first shell session

Learn the small set of keys and commands that make Hokan useful in a real terminal.

After installation, Hokan starts the underlying shell you already use. Type naturally and pause when you want context. Hokan never replaces the prompt and Tab never executes a suggestion.

Keys

KeyAction
Up / DownMove the selection
PageUp / PageDownMove between pages
TabInsert the selected or highest-ranked candidate
EnterRun typed input, or an explicitly selected candidate
EscClose the overlay or cancel an AI request
Ctrl-RToggle the history-focused view
Shift-TabShow or hide the completion list

Leave Hokan for this session

When Hokan is active, run:

Bash
hokan-leave

This returns to the underlying shell without changing the rest of your installation. Plain exit and Ctrl-D keep their normal behavior.

Disable automatic startup once

Bash
HOKAN_AUTO_START=0 zsh -l