Changelog
- More developer caches:
mo cleannow covers the Go module cache, the rbenv download cache, the legacy Composer cache and Expo caches, and the Go module cache is cleaned only while no Go tool is running. - Sign-in and completion data are preserved:
mo cleankeeps the AWS CLI credential cache, kubectl credential plugin caches and the Oh My Zsh completions folder, so cloud sessions stay signed in and Tab completion keeps working in an open zsh. mo analyzeprotects more folders: the top-level folders of the home directory such as~/.config,~/.cacheand~/.localcan no longer be moved to the Trash while their contents still can, and any socket under/tmpis refused.- Faster size measurement:
mo cleanmeasures each cache in a single pass, which shortens runs on caches with thousands of entries such as Bun's. - Other fixes: Esc in
mo analyzeclears a multi-selection before leaving the view, and names with East Asian characters or emoji stay aligned in lists.
更新日志
- 覆盖更多开发缓存:
mo clean新增 Go 模块缓存、rbenv 下载缓存、旧版 Composer 缓存和 Expo 缓存,Go 模块缓存仅在没有 Go 工具运行时清理。 - 保留登录与补全数据:
mo clean保留 AWS CLI 凭据缓存、kubectl 凭据插件缓存和 Oh My Zsh 的补全目录,云端会话保持登录,已打开的 zsh 中 Tab 补全继续可用。 mo analyze保护更多目录:~/.config、~/.cache、~/.local等主目录下的顶层目录不能再被移入废纸篓,其中的内容仍可删除,/tmp下的套接字一律拒绝移动。- 体积统计更快:
mo clean对每个缓存只统计一次,Bun 这类含数千个条目的缓存耗时明显缩短。 - 其他修复:
mo analyze中按 Esc 会先取消多选再退出当前视图,含中日韩字符或表情符号的名称在列表中保持对齐。
Thanks
Issue reporters and PR contributors this cycle: @luojiyin1987 · @r266-tech · @Icecreambobcat.
Install
curl -fsSL https://raw.githubusercontent.com/tw93/Mole/linux/install.sh | bashMole installs into ~/.local/share/mole and links mo into ~/.local/bin, with no sudo. Already installed? Run mo update. SHA256SUMS.txt lists the checksum of each archive, and the installer checks it before installing.