Install zsh and extensions; move custom .zshrc installation to applications

This commit is contained in:
2025-10-01 20:07:20 -04:00
parent a6f11aa447
commit 01a0118da3
6 changed files with 93 additions and 92 deletions
+2 -2
View File
@@ -15,8 +15,8 @@ func manageService(action, service string) {
chrootCommandRun([]string{"systemctl", action, service})
}
func managePackage(action, targetPackage string) {
chrootCommandRun([]string{"pacman", action, targetPackage, "--noconfirm"})
func managePackages(action string, targetPackages []string) {
chrootCommandRun(append([]string{"pacman", action, "--noconfirm"}, targetPackages...))
}
func writeFile(path, data, owner string, perms os.FileMode) {