WeWorkBuddy

[分享创造] ago:纯 zsh 写的历史命令搜索,按命令名分组,零依赖

平时找以前用过的命令,大多用 fzf 的 Ctrl-R 或者 Atuin 。两个都很好用,但我想要一个不用装任何东西、 source 一下就能用的,另外希望能按命令名分组来浏览,所以用纯 zsh 写了一个:ago 。 GitHub: https://github.com/vvenv/ago $ 搜索 › push ago 3 ➤ git git push origin main pnpm pnpm push:docs docker docker push vvenv/app ↑↓ 选择 | → 进入 | Del 删除 | ^O 次数 | ^T 时间 | ^U 清空 | ESC 退出 主要功能 零依赖:纯 zsh ( 5.3+),不需要 fzf 、Python 或者别的二进制,macOS 自带的 zsh 就能用 按命令名分组:打开后先看到 git 、pnpm 、docker 这样的分组,→ 进入、← 返回,都按最近使用排序 模糊搜索:多个关键词用空格分开,支持中文,匹配的字会高亮;输入 gps 也能找到 git push 先编辑再执行:选中的命令放到命令行,不会直接执行 删除历史:可以删

Read original source
Source reference for [分享创造] ago:纯 zsh 写的历史命令搜索,按命令名分组,零依赖. Screenshot not yet available.
Source record · preview pending · www.v2ex.comOpen the source for the full page.

Source record

Research analysis

Project record

Source account: 平时找以前用过的命令,大多用 fzf 的 Ctrl-R 或者 Atuin 。两个都很好用,但我想要一个不用装任何东西、 source 一下就能用的,另外希望能按命令名分组来浏览,所以用纯 zsh 写了一个:ago 。 GitHub: https://github.com/vvenv/ago $ 搜索 › push ago 3 ➤ git git push origin main pnpm pnpm push:docs docker docker push vvenv/app ↑↓ 选择 | → 进入 | Del 删除 | ^O 次数 | ^T 时间 | ^U 清空 | ESC 退出 主要功能 零依赖:纯 zsh ( 5.3+),不需要 fzf 、Python 或者别的二进制,macOS 自带的 zsh 就能用 按命令名分组:打开后先看到 git 、pnpm 、docker 这样的分组,→ 进入、← 返回,都按最近使用排序 模糊搜索:多个关键词用空格分开,支持中文,匹配的字会高亮;输入 gps 也能找到 git push 先编辑再执行:选中的命令放到命令行,不会直接执行 删除历史:可以删

Observed adoption & comparisons

Recent records to compare: “D4Vinci/Scrapling” (GitHub Trending, Nov 6, 2026); “garrytan/gstack” (GitHub Trending, Nov 6, 2026). Shared themes are navigation hints; they have not been verified as the same need or independent corroboration.

Adoption decision

Evaluate it against the tool or manual workflow it would replace. The stored record supports discovery; it does not yet establish reliability, lower operating cost or commercial adoption.

Unverified requirements

Not verified: license permissions, required hardware, installation steps, maintenance status and a representative task with its failure cases.

Next test

Choose one real task and a current alternative. Record the commit, environment, input, output, elapsed time and failure behavior; retain the result before recommending adoption.