{"repo":"sobolevn/wakatime-zsh-plugin","free":true,"listed":false,"github":"https://github.com/sobolevn/wakatime-zsh-plugin","clone":"git clone https://github.com/sobolevn/wakatime-zsh-plugin.git","description":"🕒Track how much time you have spent in your terminal!","language":"Shell","stars":95,"topics":["zsh","wakatime","antigen","oh-my-zsh","zsh-plugin","oh-my-zsh-plugin","shell","time-tracking"],"license":"MIT","category":"cli-tools","readme_excerpt":"wakatime-zsh-plugin 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. Prerequisites Before we start you will need to run: This command will install Wakatime's CLI. Installation 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 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 . There are number of options to set via your environment variables: - $WAKATIME DO NOT TRACK : you can also disable tracking for some period of time by setting WAKATIME DO NOT TRACK=1 . defaults to false - $WAKATIME TIMEOUT : to limit the time to sync with the wakatime servers, defaults to 5 seconds - $WAKATIME DISABLE OFFLINE : to disable wakatime in offline mode, defaults to false - $ZSH WAKATIME BIN : set a custom path for the wakatime cli, defaults to wakatime Project Detection The plugin determines the project name using the following priority: 1. .wakatime-project file in the current directory 2. .wakatime-project file at the git repository root 3. If inside a git repo but no .wakatime-project file is fou","default_branch":null,"files":null,"tree":[],"storefront":"/r/sobolevn","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/sobolevn/wakatime-zsh-plugin/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}