Automatic time tracking for commands in ZSH using wakatime.
It depends on zsh 4.2 or higher.
Also make sure you have configured wakatime via other wakatime plugins such as VIM, sublime etc.
pip install wakatime
. Make sure using wakatime CLI version 4.1+.
-
cd ~/.oh-my-zsh/custom/plugins && git clone git@github.com:wbinglee/zsh-wakatime.git
or whatever how you manage your zsh plugins. -
Edit your
.zshrc
file and addzsh-wakatime
to oh-my-zsh plugins
-
antigen bundle wbinglee/zsh-wakatime
-
Open a new terminal and type commands
WakaTime plugins share a common config file .wakatime.cfg
located in your user home directory with these options available.