English / 简体中文
- Analyze the commandline activity distribution for months, weekdays and hours, as well as frequently-used commands over the past years.
- Github-style command distribution graph
- Supports both Zsh & Bash
- A cute Ferris on the cover
-
Build from source (recommended, but requires
cargo
installed):git clone [email protected]:YiNNx/cmd-wrapped.git cd cmd-wrapped # for the past year cargo run # or for any specific year cargo run -- 2022 # specifying the shell [zsh/bash] cargo run -- -s zsh
-
Download from Release, unzip and run the binary file in the terminal:
# for the past year ./cmd-wrapped # or for any specific year ./cmd-wrapped 2022
Note
In some cases, cmd-wrapped may fail to output correct data (such as all outputs being 0). This is because it relies on Zsh / Bash tracking the timestamp for each command, which requires configuring specific options extraly:
- For Zsh - EXTENDED_HISTORY (oh-my-zsh has it enabled by default)
- For Bash - HISTTIMEFORMAT
Commands executed before configuring the option won't be recorded with a timestamp and this will affect cmd-wrapped’s stats. If you find all your stats showing as 0, consider configuring the option now to view the cmd-wrapped stats next year :P