What it is
A zsh plugin that shows Fish-style inline autosuggestions. As you type, it ranks your last 100 distinct history entries and displays the best match in grey after the cursor, for zsh 5.9+ users with a TypeSafe API key.
How it uses Jev
State holds typed_so_far plus ID-tagged candidates. A Choice over the IDs asks which entry the user is completing (its probability is the score); a Noul asks whether any candidate completes the input. Fuzzy mode gates on both signals; prefix mode always suggests the top candidate.
Primitives:choicenoul
Technique worth stealing
Ask one request with two questions: a Choice for the top candidate and a Noul for whether any candidate completes the input, then gate on both.
Try it
Clone the repo, npm install, export TYPESAFE_API_KEY, source zsh/jev-shell-history.plugin.zsh.
Evidence
Each line is one question put to Jev about the README. ≥ 0.60 reads as yes, ≤ 0.40 as no; in between Jev is not making a call.
- Jev-centricyes0.94
- Shows a System One patternunclear0.42
- Handles uncertaintyno0.05
- Measuredunclear0.48
- Runnableyes0.97
- Worth recommendingunclear0.41
- Model replicano0.03
- Problem scopescore on a 0–2 scale1.07
- About Jevyes0.97
Signals by Jev jev-1.13.0, card written by DeepSeek V4.1 Flash from the README on 20 Sept 2026.