1
0
Fork 0
pompup/internal/installers/git.go

22 lines
370 B
Go

package installers
import (
_ "embed"
"github.com/developomp/pompup/internal/wrapper"
)
//go:embed assets/home/.gitconfig
var _gitconfig []byte
func init() {
register(&Installer{
Name: "git",
Desc: "git gud",
Setup: func() {
wrapper.ParuOnce("git")
wrapper.ParuOnce("git-lfs")
wrapper.WriteFile(wrapper.InHome(".gitconfig"), _gitconfig)
},
})
}