看到 Jev 模型一个挺实用的用法,给 zsh 做历史命令补全,像 fish 那样在光标后面显示灰色建议。
This is a dev post classified by Jev as Terminal & editor (a tool drop), kept by the Dev Radar because it carries real work, not commentary.
看到 Jev 模型一个挺实用的用法,给 zsh 做历史命令补全,像 fish 那样在光标后面显示灰色建议。 每敲一个字,jev-shell-history 就把最近 100 条不重复的历史命令交给 Jev,让它挑出我们最可能想敲的那条,按右方向键接受。 我觉得最好用的是模糊匹配,敲一句 last 5 commits,历史里没有哪条命令是这么开头的。 它照样能把查最近 5 次提交的那条 git log 翻出来,后面还带一个分数,表示有多大把握。 GitHub:http://github.com/mrnugget/jev-shell-history Jev 不生成文字,只回答「选哪个」「对不对」这类问题并给出概率。前缀匹配、去重这些规则写在代码里,模型只负责拿主意。 每次请求大概 0.7 到 0.9 秒,需要 TypeSafe 的 API Key。经常按上方向键翻半天找长命令的,可以装上试试。
Posted by GitHubDaily (85.2k followers) 2 h ago · 3 likes · 813 views · view the original post on X. Kept by the Dev Radar as Terminal & editor. Tools mentioned: jev-shell-history.
More dev work like this
- Eu xingo Windows (e sempre vou) mas, pelo menos PowerShell consegue fazer praticamente… — @AkitaOnRails
- TIL @github has a "rich-diff" view for markdown! — @neuralkian
- for whoever uses VsCode and wants to try out Bend, I made a plugin for it (I use VSCode,… — @GiulioRebuffo
- working on our little theme editor again — @jlongster
- LeanTTY is a keyboard-first SSH / TTY terminal for HarmonyOS. It gives developers and… — @LivingInHarmony
- Command Code supports Git worktrees. — @CommandCodeAI
- mizchi/markdown.mbt のプレビューを更新した — @mizchi
- After about a year, on and off, I am veeeery happy to release TWINKLEPLOP, a syntax… — @evilpingwin
Every post is read and classified by Jev (TypeSafe): what it is, which market it belongs to, and whether the link is a real tool. 21.9k posts from 5k X accounts over the last 21 days, 2.5k tools, 12 markets. Collected every 5 minutes, fully re-ranked every hour — last update 2026-09-23 03:55 UTC. Full method.