feat,docs: prepare initial release
This commit is contained in:
parent
2b2aaede18
commit
f14b54ea20
11 changed files with 188 additions and 100 deletions
|
|
@ -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='*'")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue