rwxrob / pomo

πŸ…πŸŒ³ Pomodoro Bonzai Branch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

🌳 Go Pomodoro Command Line Timer

GoDoc License Go Report Card

Install

You can just grab the latest binary release.

This command can be installed as a standalone program or composed into a Bonzai command tree.

Standalone

go install github.com/rwxrob/pomo/cmd/pomo@latest

Composed

package z

import (
	Z "github.com/rwxrob/bonzai/z"
	"github.com/rwxrob/pomo"
)

var Cmd = &Z.Cmd{
	Name:     `z`,
	Commands: []*Z.Cmd{help.Cmd, pomo.Cmd},
}

Tab Completion

To activate bash completion just use the complete -C option from your .bashrc or command line. There is no messy sourcing required. All the completion is done by the program itself.

complete -C pomo pomo

If you don't have bash or tab completion check use the shortcut commands instead.

Embedded Documentation

All documentation (like manual pages) has been embedded into the source code of the application. See the source or run the program with help to access it.

Add Pomodoro to TMUX

Here's an example of how to add pomo to your TMUX configuration. Your mileage may vary.

set -g status-interval 1
set -g status-right "#(pomo)"

About

πŸ…πŸŒ³ Pomodoro Bonzai Branch

License:Apache License 2.0


Languages

Language:Go 100.0%