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.cfgfile. - WakaTime for Terminal is installed.
- Your WakaTime API key is in your
- Copy
log-wakatime.fishto~/.config/fish/functions/. - Add
log-wakatimeto~/.config/fish/functions/fish_prompt.fish. If the file doesn't exist, create it.