Skip to content
Track how much time you have spent in your terminal
Branch: master
Clone or download
gandarez and sobolevn update manual installation instructions (#4)
* update manual installation instructions

* add official documentation link to README

* travis sudo true

* add before_install to travis

* apply shellcheck recommendations
Latest commit 5bbcc7c May 21, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.editorconfig Initial commit Jan 28, 2018
.gitignore Initial commit Jan 28, 2018
.travis.yml update manual installation instructions (#4) May 21, 2019
CHANGELOG.md Enhances message shown when wakatime is missing Jan 28, 2018
LICENSE.md Initial commit Jan 28, 2018
README.md update manual installation instructions (#4) May 21, 2019
wakatime.plugin.zsh

README.md

wakatime-zsh-plugin

wemake.services Build Status GitHub Release

What does this plugin do?

This plugin provides zsh and wakatime integration. In other words, it tracks all time you spend in a terminal. Unlike other plugins, this one tries to keep all your spent time in the same wakatime's project.

Installation

Before we start you will need to run:

pip install wakatime

This command will install Wakatime's CLI.

antigen

If you're using antigen, you can install this plugin with antigen bundle sobolevn/wakatime-zsh-plugin.

zgen

If you're using zgen, add this plugin to your init.zsh with zgen load sobolevn/wakatime-zsh-plugin.

Manual

cd ~/.oh-my-zsh/custom/plugins && git clone https://github.com/sobolevn/wakatime-zsh-plugin.git wakatime

Then set wakatime to the plugins list inside your .zshrc.

Official plugin documentation

Configuration

Wakatime supports configuration via ~/.wakatime.cfg. You will need to set your api_key.

You can also disable tracking for some period of time by setting $WAKATIME_DO_NOT_TRACK environment variable to any non-empty value.

Alternatives

There are several alternatives to this project:

  1. zsh-wakatime
  2. bash-wakatime
  3. fish-wakatime

See the full list here.

License

MIT. See LICENSE.md for more details.

You can’t perform that action at this time.