A BASH and ZSH command tracker for ActivityWatch based on Carl Anderson's Advanced Shell History project. Records the command, duration, working directory, and exit code.
- Download the latest release and unzip.
- Source aw-watcher-shell in
~/.bashrc
and/or~/.zshrc
(on mac you can source it in~/.bash_profile
).
To confirm that aw-watcher-shell has been correctly sourced, open a new shell.
You should see aw-watcher shell v1.0.0
displayed before the first prompt is drawn.
Note: if you just want to disable data collection, you can pause the ActivityWatch server.
Unsource aw-watcher-shell in ~/.bashrc
and/or ~/.zshrc
and restart your shell.