WakaTime terminal logger for Fish shell.
Based on fish-wakatime.sh
. Modified to log the project name taken from git config --local remote.origin.url
if the current folder is in a git repo.
- prerequisites
- Your WakaTime API key is in your
~/.wakatime.cfg
file. - WakaTime for Terminal is installed.
- Your WakaTime API key is in your
- Copy
log-wakatime.fish
to~/.config/fish/functions/
. - Add
log-wakatime
to~/.config/fish/functions/fish_prompt.fish
. If the file doesn't exist, create it.