Back to explore

Using the Jev Model for Fish-Style zsh History Completion

Introduces jev-shell-history: on each keystroke it sends the last 100 unique history commands to the Jev model, which picks the most likely one and shows it as a gray suggestion, accepted with the right arrow key, with fuzzy matching support.

看到 Jev 模型一个挺实用的用法,给 zsh 做历史命令补全,像 fish 那样在光标后面显示灰色建议。 每敲一个字,jev-shell-history 就把最近 100 条不重复的历史命令交给 Jev,让它挑出我们最可能想敲的那条,按右方向键接受。 我觉得最好用的是模糊匹配,敲一句 last 5

Using the Jev Model for Fish-Style zsh History Completion 1
· 2 likesOpen on X