We value Open Source and make a point to release all our plugins on GitHub under a BSD License.
WakaTime can track your Terminal usage if you use zsh, bash, iTerm2, or fish.
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.
This one puts all your time the same project named Terminal
.
Using antigen: antigen bundle wbingli/zsh-wakatime
Using zgen: zgen load wbingli/zsh-wakatime
Or manually: cd ~/.oh-my-zsh/custom/plugins && git clone https://github.com/wbingli/zsh-wakatime.git
then add zsh-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.
Activity from the zsh-wakatime plugin always goes in the Terminal
project, so visit https://wakatime.com/projects/Terminal to see your zsh activity.
python3 -c "$(wget -q -O - https://raw.githubusercontent.com/wakatime/vim-wakatime/master/scripts/install_cli.py)"
.
git clone https://github.com/gjsheep/bash-wakatime.git
.
Include the bash-wakatime.sh
file in your ~/.bashrc
file with this command:
source path/to/bash-wakatime.sh
But if you already have a PROMPT_COMMAND variable set, just merge your own pre_prompt_command with the following one.
Make sure your API Key is in your ~/.wakatime.cfg file.
Open a new terminal and type commands.
Activity from the bash plugin always goes in the Terminal
project, so visit https://wakatime.com/projects/Terminal to see your coding activity.
python3 -c "$(wget -q -O - https://raw.githubusercontent.com/wakatime/vim-wakatime/master/scripts/install_cli.py)"
.
Add a new iTerm2 Trigger with these settings:
^.
Run Command…
~/.wakatime/wakatime-cli --entity Terminal --entity-type app --plugin "iterm2-wakatime/0.0.1" --project "<<LAST_PROJECT>>"
Make sure your API Key is in your ~/.wakatime.cfg file.
Open a new iTerm2 terminal and type commands.
Activity from the iTerm2 trigger goes into whichever project you last coded in, so visit https://wakatime.com/dashboard to see your coding activity.
Note: Make sure Instant
is left unchecked or the trigger will fire too frequently affecting your machine’s performance.
curl https://raw.githubusercontent.com/wakatime/vim-wakatime/master/scripts/install_cli.py | python3 -
fisher install ik11235/wakatime.fish
Make sure your API Key is in your ~/.wakatime.cfg file.
Visit https://wakatime.com/dashboard to see your fish usage.
python3 -c "$(wget -q -O - https://raw.githubusercontent.com/wakatime/vim-wakatime/master/scripts/install_cli.py)"
.
Make sure your API Key is in your ~/.wakatime.cfg file.
Copy the contents of fish-wakatime.sh into ~/.config/fish/functions/fish_prompt.fish
.
Fish should pick this up instantly.
Activity from the fish plugin always goes in the Terminal
project, so visit https://wakatime.com/projects/Terminal to see your coding activity.
Follow the instructions in the python-wakatime repo corresponding to the Python REPL you’re using.
Make sure your API Key is in your ~/.wakatime.cfg file.
Visit https://wakatime.com/dashboard to see your python repl usage.