No description
Find a file
2021-09-03 23:24:53 +02:00
debian wakatime-cli dependency added 2021-07-20 00:28:32 +02:00
bash-wakatime.sh Avoid basename error in .git/ 2019-05-23 10:45:48 +09:00
Jenkinsfile Debian Bookworm build added 2021-09-03 23:24:53 +02:00
README.md Update README.md 2016-07-12 11:10:10 +05:30

BASH plugin for wakatime

Automatic time tracking for commands in BASH using wakatime.

Installation

Make sure you have configured wakatime API key in your ~/.wakatime.cfg file.

  1. pip install wakatime to install wakatime CLI, with 4.1 or higher. See more here for wakatime CLI.

  2. For bash users:

  • git clone https://github.com/irondoge/bash-wakatime.git

  • include the "bash-wakatime.sh" file in your "~/.bashrc" file with this command:

    . path/to/bash-wakatime.sh

  • or this command:

    source path/to/bash-wakatime.sh

  • But if you already have a PROMPT_COMMAND variable set, just merge yout own pre_prompt_command with the following one. And don't forget to create and configure your "~/.wakatime.cfg" file.

  1. Open a new terminal and type commands

  2. Visit https://wakatime.com/project/Terminal