nyaa8 / codestats-fish

🐟 A simple Fish shell plugin for Code::Stats

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🐟 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"

About

🐟 A simple Fish shell plugin for Code::Stats

License:MIT License


Languages

Language:Shell 100.0%