π codestats-fish
A simple Fish shell plugin for Code::Stats. Currently only counts characters from executed commands (sheesh)
Inspired a bit by the Code::Stats plugin for ZSH
Installation
Using fisher:
fisher install nyaa8/codestats-fish
With fundle:
fundle plugin nyaa8/codestats-fish
Requirements
- cURL
- fish π
Configuration
Set CODESTATS_API_KEY
to a token:
set -Ux CODESTATS_API_KEY "SFMyNTY.OEotWWdnPT0jI01qaz0.X0wVEZquh8Ogau1iTtBihYqqL71FD8N6p5ChQiIpaxQ"
Set CODESTATS_API_URL
if you want to use a different instance:
set -Ux CODESTATS_API_URL "https://beta.codestats.net/api"