Skip to content

dl-forks/bash-wakatime

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 

Repository files navigation

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. Run ./install_cli.sh to install the 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 your 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

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%