Wakatime 安装
在 iterm2 安装
Installing for zsh (with project detection)
This one detects your project from your CWD, instead of putting all your time in the same project.
python3 -c "$(wget -q -O - https://raw.githubusercontent.com/wakatime/vim-wakatime/master/scripts/install_cli.py)".
Using antigen:
antigen bundle sobolevn/wakatime-zsh-plugin
Using zgen:zgen load sobolevn/wakatime-zsh-plugin
Or manually:cd ~/.oh-my-zsh/custom/plugins && git clone https://github.com/sobolevn/wakatime-zsh-plugin.git wakatime
then add wakatime to the list of plugins in your.zshrc
file.Make sure your API Key is in your
~/.wakatime.cfg
file.Open a new terminal and type commands.
Your zsh activity will be displayed on your WakaTime Dashboard.