v0.2.0
Changelog
新功能
- 4f300c9 feat: add alias/unalias/default subcommands backed by overlay
- d4ea550 feat: add completion subcommand (print/install/uninstall)
- 57b82d9 feat: add hidden __complete_names command for completion scripts
- a060e09 feat: add overlay package for aliases/default/last metadata
- 4f09dc0 feat: add registry Lookup with alias and fuzzy resolution
- 58079ee feat: generate shell completion scripts for bash/zsh/powershell
- 082809d feat: idempotent install/uninstall of completion into shell rc
- 3fd4cab feat: resolve - (last) / . (default) / fuzzy TUI and record last-used
修复
- 5a5a944 fix: guard completion rc line so missing ccr does not error on shell startup
安装
- 下载二进制:下方选对应系统的压缩包,解压把
ccr(Windows 为ccr.exe)放进 PATH - go install:
go install github.com/ttsimon/cc-run/cmd/ccr@latest - Scoop:
scoop bucket add ttsimon https://github.com/ttsimon/scoop-bucket && scoop install ccr - Homebrew:
brew install ttsimon/tap/ccr
用法见 README。