mirror of
https://github.com/rsteube/carapace-bin.git
synced 2025-05-05 23:42:54 +00:00
24 lines
578 B
Go
24 lines
578 B
Go
package styles
|
|
|
|
import "github.com/carapace-sh/carapace/pkg/style"
|
|
|
|
var Git = struct {
|
|
Branch string `description:"git branches"`
|
|
Commit string `description:"git commits"`
|
|
HeadCommit string `description:"git HEAD~ commits"`
|
|
Note string `description:"git notes"`
|
|
Stash string `description:"git stashes"`
|
|
Tag string `description:"git tags"`
|
|
}{
|
|
Branch: style.Blue,
|
|
Commit: style.Default,
|
|
HeadCommit: style.Bold,
|
|
Note: style.Cyan,
|
|
Stash: style.Green,
|
|
Tag: style.Yellow,
|
|
}
|
|
|
|
func init() {
|
|
style.Register("git", &Git)
|
|
}
|