Changelog
- Shell Completion: Add tab completion for bash, zsh, and fish. Run
mo completionto auto-install. - Zig & Browser Cleanup: Clean Zig build artifacts (
.zig-cache,zig-out) and outdated Chrome/Edge versions. - Smart Vendor Protection: Automatically detect and skip Rails vendor directories during purge.
- Installation Improvements: Enhanced
install.shwith better error handling, version/edge install support, and--updateflow. - Testing & Quality: Added 2000+ lines of new tests covering completion, browser cleanup, purge protection, app cache cleaning.
- Bug Fixes: Fixed pnpm Corepack hang, fixed
mo purgefd pattern matching, improved macOS compatibility docs.
更新日志
- Shell 补全支持:支持 bash/zsh/fish 自动补全,运行
mo completion即可安装。 - Zig & 浏览器清理:清理 Zig 构建产物(
.zig-cache、zig-out)及旧版 Chrome/Edge。 - 智能 Vendor 保护:purge 时自动检测并跳过 Rails vendor 目录,防止误删依赖。
- 安装流程增强:
install.sh增强健壮性,支持指定版本/edge 安装及--update更新。 - 测试与质量:新增 2000+ 行测试,覆盖补全、浏览器清理、purge 保护、缓存清理等场景。
- Bug 修复:修复 pnpm Corepack 卡住问题、修复
mo purgefd 匹配问题、改进 macOS 兼容性文档。
Thanks to @jjmartres, @JackPhallen, @LmanTW, and @thijsvanhal for their contributions! If you find Mole useful, a ⭐ Star is always appreciated.