Update dotfiles/.local/share/chezmoi/home/.chezmoiscripts/archlinux/run_onchange_before_10_install-archlinux-dependencies.tmpl, dotfiles/.local/share/chezmoi/home/.chezmoiscripts/archlinux/run_onchange_before_11-install-archlinux-packages, dotfiles/.local/share/chezmoi/home/.chezmoiscripts/centos/run_onchange_before_10-install-centos-dependencies, dotfiles/.local/share/chezmoi/home/.chezmoiscripts/centos/run_onchange_before_10-install-centos-packages, dotfiles/.local/share/chezmoi/home/.chezmoiscripts/darwin/run_onchange_after_10_configure-macos.tmpl, dotfiles/.local/share/chezmoi/home/.chezmoiscripts/darwin/run_onchange_after_20-ensure-zsh-macos.tmpl, dotfiles/.local/share/chezmoi/home/.chezmoiscripts/darwin/run_onchange_before_10_install-darwin-dependencies.tmpl, dotfiles/.local/share/chezmoi/home/.chezmoiscripts/darwin/run_onchange_before_11-install-darwin-packages, dotfiles/.local/share/chezmoi/home/.chezmoiscripts/debian/run_onchange_before_10-install-debian-dependencies, dotfiles/.local/share/chezmoi/home/.chezmoiscripts/debian/run_onchange_before_11-install-debian-packages, dotfiles/.local/share/chezmoi/home/.chezmoiscripts/fedora/run_onchange_before_10-install-fedora-dependencies, dotfiles/.local/share/chezmoi/home/.chezmoiscripts/fedora/run_onchange_before_11-install-fedora-packages, dotfiles/.local/share/chezmoi/home/.chezmoiscripts/freebsd/run_onchange_before_10-install-freebsd-dependencies, dotfiles/.local/share/chezmoi/home/.chezmoiscripts/freebsd/run_onchange_before_11-install-freebsd-packages, dotfiles/.local/share/chezmoi/home/.chezmoiscripts/opensuse/run_onchange_before_11-install-opensuse-packages, dotfiles/.local/share/chezmoi/home/.chezmoiscripts/opensuse/run_onchange_before_11-install-opensuse-software, dotfiles/.local/share/chezmoi/home/.chezmoiscripts/ubuntu/run_onchange_before_10_install-ubuntu-dependencies.tmpl, dotfiles/.local/share/chezmoi/home/.chezmoiscripts/ubuntu/run_onchange_before_11-install-packages, dotfiles/.local/share/chezmoi/home/.chezmoiscripts/universal/run_onchange_after_10_install-aqua-packages.sh.tmpl, dotfiles/.local/share/chezmoi/home/.chezmoiscripts/universal/run_onchange_after_15_install-asdf-packages.tmpl, dotfiles/.local/share/chezmoi/home/.chezmoiscripts/universal/run_onchange_after_50-crontab, dotfiles/.local/share/chezmoi/home/.chezmoiscripts/universal/run_onchange_after_60-cleanup, dotfiles/.local/share/chezmoi/home/.chezmoiscripts/universal/run_onchange_after_80-bash-completions, dotfiles/.local/share/chezmoi/home/.chezmoiscripts/universal/run_onchange_after_99_bootstrap-z4h.tmpl, dotfiles/.local/share/chezmoi/home/.chezmoiscripts/universal/run_onchange_before_1-logging-deps, dotfiles/.local/share/chezmoi/home/.chezmoiscripts/windows/run_onchange_before_10-install-windows-dependencies, dotfiles/.local/share/chezmoi/home/.chezmoiscripts/windows/run_onchange_before_11-install-windows-packages

This commit is contained in:
Brian Zalewski 2022-11-24 15:56:21 +00:00
parent be4661f337
commit 7872aeec9a
27 changed files with 28 additions and 32 deletions

View file

@ -30,4 +30,4 @@ if ! command -v yay > /dev/null; then
logg 'Installing yay'
makepkg -si
fi
{{- end -}}
{{- end }}

View file

@ -2,4 +2,4 @@
{{- if eq .host.distro.id "arch" }}
{{ $supportedManagers := (list "flatpak" "snap" "whalebrew" "pacman" "brew" "yay" "go" "cargo" "npm" "pipx" "gem" "appimage" "binary") }}
{{- end -}}
{{- end }}

View file

@ -13,4 +13,4 @@ logg "Dependencies: {{ $packages | sortAlpha | uniq | join " " -}}"
### Install base dependencies
sudo dnf install -y {{ $packages | sortAlpha | uniq | join " " -}}
{{- end -}}
{{- end }}

View file

@ -2,4 +2,4 @@
{{- if eq .host.distro.id "centos" }}
{{ $supportedManagers := (list "flatpak" "snap" "whalebrew" "dnf" "brew" "go" "cargo" "npm" "pipx" "gem" "appimage" "binary") }}
{{- end -}}
{{- end }}

View file

@ -476,4 +476,4 @@ sudo chflags nohidden ~/Library
# Show the /Volumes folder
sudo chflags nohidden /Volumes
{{- end -}}
{{- end -}}
{{- end }}

View file

@ -19,4 +19,4 @@ if [[ ! -e /usr/local/bin/zsh ]]; then
fi
{{- end -}}
{{- end -}}
{{- end -}}
{{- end }}

View file

@ -25,4 +25,4 @@ logg 'Additional dependencies for GNU compatibility: coreutils findutils gawk gn
brew bundle --verbose --no-lock --file=/dev/stdin <<EOF
{{ includeTemplate "darwin/Brewfile" . }}
EOF
{{- end -}}
{{- end }}

View file

@ -10,4 +10,4 @@
# Examples of /etc/os-release values https://gist.github.com/natefoo/814c5bf936922dad97ff
# Example fromJson with include from file https://github.com/twpayne/chezmoi/issues/1369
{{- end -}}
{{- end }}

View file

@ -35,4 +35,4 @@ logg "Dependencies: {{ $packages | sortAlpha | uniq | join " " -}}"
sudo apt-get update
sudo apt-get install -y --no-install-recommends {{ $packages | sortAlpha | uniq | join " " -}}
{{- end -}}
{{- end }}

View file

@ -1,5 +1,4 @@
#!/usr/bin/env bash
{{- if eq .host.distro.id "debian" }}
{{ $supportedManagers := (list "flatpak" "snap" "whalebrew" "apt" "brew" "go" "cargo" "npm" "pipx" "gem" "appimage" "binary") }}
{{- end -}}
{{- end }}

View file

@ -12,5 +12,4 @@ logg "Dependencies: {{ $packages | sortAlpha | uniq | join " " -}}"
### Install base dependencies
sudo dnf install -y {{ $packages | sortAlpha | uniq | join " " -}}
{{- end -}}
{{- end }}

View file

@ -1,4 +1,4 @@
#!/usr/bin/env bash
{{- if eq .host.distro.id "fedora" }}
{{ $supportedManagers := (list "flatpak" "snap" "whalebrew" "dnf" "brew" "go" "cargo" "npm" "pipx" "gem" "appimage" "binary") }}
{{- end -}}
{{- end }}

View file

@ -1,4 +1,4 @@
#!/usr/bin/env bash
{{- if eq .host.distro.id "opensuse" }}
{{ $supportedManagers := (list "whalebrew" "pkg" "go" "cargo" "npm" "gem") }}
{{- end -}}
{{- end }}

View file

@ -12,6 +12,5 @@ logg "Dependencies: {{ $packages | sortAlpha | uniq | join " " -}}"
### Install base dependencies
sudo pkg install -y {{ $packages | sortAlpha | uniq | join " " -}}
{{- end -}}
{{- end }}

View file

@ -1,4 +1,4 @@
#!/usr/bin/env bash
{{- if eq .host.distro.id "opensuse" }}
{{ $supportedManagers := (list "flatpak" "snap" "whalebrew" "zypper" "brew" "go" "cargo" "npm" "pipx" "gem" "appimage" "binary") }}
{{- end -}}
{{- end }}

View file

@ -13,4 +13,4 @@ logg "Dependencies: {{ $packages | sortAlpha | uniq | join " " -}}"
### Install base dependencies
sudo zypper install -y {{ $packages | sortAlpha | uniq | join " " -}}
{{- end -}}
{{- end }}

View file

@ -35,4 +35,4 @@ logg "Dependencies: {{ $packages | sortAlpha | uniq | join " " -}}"
sudo apt-get update
sudo apt-get install -y --no-install-recommends {{ $packages | sortAlpha | uniq | join " " -}}
{{- end -}}
{{- end }}

View file

@ -1,5 +1,4 @@
#!/usr/bin/env bash
{{- if eq .host.distro.id "ubuntu" }}
{{- $supportedManagers := (list "flatpak" "snap" "whalebrew" "apt" "brew" "go" "cargo" "npm" "pipx" "gem" "appimage" "binary") }}
{{- end -}}
{{- end }}

View file

@ -20,4 +20,4 @@ logg 'Updating Aqua'
aqua update-aqua
logg 'Installing Aqua dependencies (if any are defined)'
aqua install -a
{{- end -}}
{{- end }}

View file

@ -13,4 +13,4 @@ if [ -f "$ASDF_DIR/asdf.sh" ] && [ -f ~/.tool-versions ]; then
else
logg 'The `$ASDF_DIR/asdf.sh` or `~/.tool-versions` file is not present'
fi
{{- end -}}
{{- end }}

View file

@ -7,4 +7,4 @@ source "$HOME/.config/shell/exports"
logg 'Installing crontab jobs'
crontab < "$XDG_CONFIG_HOME/crontab/config"
{{- end -}}
{{- end }}

View file

@ -22,10 +22,10 @@ if command -v gsed > /dev/null; then
else
logg 'Unable to fix `~/.local/Taskfile.yml` because gsed GNU compatibility tool is not installed.'
fi
{{ end }}
{{- end }}
{{ else if chezmoi.os "windows" }}
Remove-Item -LiteralPath "$env:HOMEPATH\Library" -Force -Recurse
{{ end }}
{{- end }}

View file

@ -168,4 +168,4 @@ if command -v zoxide >/dev/null; then
elif [ -f "$COMPLETION_DIR/zoxide.bash" ]; then
rm "$COMPLETION_DIR/zoxide.bash"
fi
{{- end -}}
{{- end }}

View file

@ -7,4 +7,4 @@ source "$HOME/.config/shell/exports"
logg 'Bootstrapping Z4H'
Z4H_BOOTSTRAPPING=1 exec zsh && exit 0
{{- end -}}
{{- end }}

View file

@ -69,4 +69,4 @@ echo "Ensuring Gum and Glow are installed (for logging)"
installGlow &
installGum &
wait
{{- end -}}
{{- end }}

View file

@ -1,3 +1,3 @@
#!/usr/bin/env bash
{{- if eq .host.distro.id "windows" }}
{{- end -}}
{{- end }}

View file

@ -2,4 +2,4 @@
{{- if eq .host.distro.id "windows" }}
{{ $supportedManagers := (list "whalebrew" "choco" "scoop" "winget" "go" "cargo" "npm" "pipx" "gem" "binary") }}
{{- end -}}
{{- end }}