Skip to content

iamkarlson/powerwaka

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 

Repository files navigation

powerwaka

Powershell tracker for wakatime

Requirements

  • Basically, you need posh-git to be installed. If you don't have it you can drop out everything related to git folder detection and keep it simple.
  • Python & Pip. I hope you will find enough manuals on the internet how to do it. Later version is better, of course. More information about that you can find in the wakatime-cli repository

How to?

When you installed posh-git you should have your powershell profile similar to that:

function prompt {
    # Your non-prompt logic here

    # Have posh-git display its default prompt
    & $GitPromptScriptBlock
}

So, we're gonna replace it with our brand new stylish profile. Take it here and put where all the profiles live:

C:\Users\%USER_NAME%\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1

Don't forget to install wakatime-cli.

One more thing

If you're using powershell 6 (core, or whatever) you have to put your profile specifically to the place of installation.

pip install wakatime

And here you go!

Live working example

Check-out my dotfiles for further info.

About

Powershell tracker for wakatime

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published