feat,docs: prepare initial release

This commit is contained in:
Patryk Hegenberg 2024-12-28 12:48:46 +01:00
parent 2b2aaede18
commit f14b54ea20
11 changed files with 188 additions and 100 deletions

View file

@ -24,14 +24,14 @@ func setupDotfiles(config DotfilesConfig) error {
dotfilesDir := filepath.Join(os.Getenv("HOME"), "dotfiles")
//cmd := exec.Command("git", "clone", config.GitRepo)
// cmd := exec.Command("git", "clone", config.GitRepo)
cmd := exec.Command("git", "clone", config.GitRepo, dotfilesDir)
if err := cmd.Run(); err != nil {
return fmt.Errorf("Fehler beim Klonen der Dotfiles: %v", err)
return fmt.Errorf("fehler beim Klonen der Dotfiles: %v", err)
}
if err := os.Chdir(dotfilesDir); err != nil {
return fmt.Errorf("Fehler beim Wechseln in das Dotfiles-Verzeichnis: %v", err)
return fmt.Errorf("fehler beim Wechseln in das Dotfiles-Verzeichnis: %v", err)
}
cmd = exec.Command("stow", ".", "--override='*'")