Update .local/share/chezmoi/home/.chezmoiscripts/windows/run_onchange_before_11-install-windows-packages.tmpl, .local/share/chezmoi/home/.chezmoiscripts/windows/run_onchange_before_10-install-windows-dependencies.tmpl, .local/share/chezmoi/home/.chezmoiscripts/universal/run_onchange_before_8-install-zx.tmpl, .local/share/chezmoi/home/.chezmoiscripts/universal/run_onchange_before_5-install-homebrew.tmpl, .local/share/chezmoi/home/.chezmoiscripts/universal/run_onchange_after_99_bootstrap-zsh-plugins.tmpl, .local/share/chezmoi/home/.chezmoiscripts/darwin/run_onchange_before_10_install-darwin-dependencies.tmpl, .local/share/chezmoi/home/.chezmoiscripts/darwin/run_onchange_after_set-wallpaper.tmpl, .local/share/chezmoi/home/.chezmoiscripts/darwin/run_onchange_after_20-ensure-zsh-macos.tmpl, .local/share/chezmoi/home/.chezmoiscripts/darwin/run_onchange_after_10_configure-macos.tmpl, .local/share/chezmoi/home/.chezmoiscripts/centos/run_onchange_before_10-install-centos-dependencies.tmpl, .local/share/chezmoi/home/.chezmoiscripts/archlinux/run_onchange_before_10_install-archlinux-dependencies.tmpl, .local/share/chezmoi/home/.chezmoiscripts/debian/run_onchange_before_10-install-debian-dependencies.tmpl, .local/share/chezmoi/home/.chezmoiscripts/fedora/run_onchange_before_10-install-fedora-dependencies.tmpl, .local/share/chezmoi/home/.chezmoiscripts/freebsd/run_onchange_before_11-install-freebsd-packages.tmpl, .local/share/chezmoi/home/.chezmoiscripts/opensuse/run_onchange_before_11-install-opensuse-software.tmpl, .local/share/chezmoi/home/.chezmoiscripts/ubuntu/run_onchange_before_10_install-ubuntu-dependencies.tmpl, .local/share/chezmoi/home/.chezmoiscripts/universal/run_onchange_after_15_install-asdf-packages.tmpl

This commit is contained in:
Brian Zalewski 2022-12-02 07:35:35 +00:00
parent fefdde6d09
commit 9cbf25a7a3
17 changed files with 6 additions and 31 deletions

View file

@ -1,4 +1,3 @@
{{- if (eq .host.distro.id "archlinux") }}
#!/usr/bin/env bash
# universal/essential-packages hash: {{ include (joinPath ".chezmoitemplates" "universal" "essential-packages") | sha256sum }}
@ -41,4 +40,3 @@ if ! command -v yay > /dev/null; then
logg 'Installing yay via `sudo makepkg -si`'
sudo makepkg -si
fi
{{ end -}}

View file

@ -1,4 +1,3 @@
{{- if (eq .host.distro.id "centos") }}
#!/usr/bin/env bash
# universal/essential-packages hash: {{ include (joinPath ".chezmoitemplates" "universal" "essential-packages") | sha256sum }}
@ -23,4 +22,3 @@ logg info 'Dependencies: {{ $packages | sortAlpha | uniq | join " " -}}'
### Install base dependencies
sudo dnf install -y {{ $packages | sortAlpha | uniq | join " " -}}
{{ end -}}

View file

@ -1,4 +1,3 @@
{{- if (eq .host.distro.family "darwin") }}
#!/usr/bin/env bash
set -x
@ -939,4 +938,3 @@ done
logg 'Done applying macOS settings'
logg info 'Some of these changes may require a logout/restart to take effect'
{{ end -}}

View file

@ -1,4 +1,3 @@
{{- if (eq .host.distro.family "darwin") }}
#!/usr/bin/env bash
{{- includeTemplate "universal/logg" }}
@ -15,4 +14,3 @@ if [[ ! -e /usr/local/bin/zsh ]]; then
fi
{{- end -}}
{{- end }}
{{ end -}}

View file

@ -1,4 +1,3 @@
{{- if (eq .host.distro.family "darwin") }}
#!/usr/bin/env bash
# Betelgeuse-macOS wallpaper hash: {{ include (joinPath .chezmoi.homeDir ".local" "src" "betelgeuse" "share" "wallpapers" "Betelgeuse-macOS" "contents" "source.png") | sha256sum }}
@ -9,4 +8,3 @@ if command -v m > /dev/null && [ -f "$HOME/.local/src/betelgeuse/share/wallpaper
else
logg warn 'Either `m` or the macOS default wallpaper is missing.'
fi
{{ end -}}

View file

@ -1,4 +1,3 @@
{{- if (eq .host.distro.family "darwin") }}
#!/usr/bin/env bash
# darwin/Brewfile hash: {{ include (joinPath ".chezmoitemplates" "darwin" "Brewfile") | sha256sum }}
@ -17,4 +16,3 @@ if command -v brew > /dev/null; then
else
logg error '`brew` was not found in the PATH'
fi
{{ end -}}

View file

@ -1,4 +1,3 @@
{{- if (eq .host.distro.id "debian") }}
#!/usr/bin/env bash
# universal/essential-packages hash: {{ include (joinPath ".chezmoitemplates" "universal" "essential-packages") | sha256sum }}
@ -44,4 +43,3 @@ logg info 'Dependencies: {{ $packages | sortAlpha | uniq | join " " -}}'
sudo apt-get update
sudo apt-get install -y --no-install-recommends {{ $packages | sortAlpha | uniq | join " " -}}
{{ end -}}

View file

@ -1,4 +1,3 @@
{{- if (eq .host.distro.id "fedora") }}
#!/usr/bin/env bash
# universal/essential-packages hash: {{ include (joinPath ".chezmoitemplates" "universal" "essential-packages") | sha256sum }}
@ -23,4 +22,3 @@ logg info 'Dependencies: {{ $packages | sortAlpha | uniq | join " " -}}'
### Install base dependencies
sudo dnf install -y {{ $packages | sortAlpha | uniq | join " " -}}
{{ end -}}

View file

@ -1,4 +1,3 @@
{{- if (eq .host.distro.id "freebsd") }}
#!/usr/bin/env bash
# universal/essential-packages hash: {{ include (joinPath ".chezmoitemplates" "universal" "essential-packages") | sha256sum }}
@ -23,4 +22,3 @@ logg info 'Dependencies: {{ $packages | sortAlpha | uniq | join " " -}}'
### Install base dependencies
sudo pkg install -y {{ $packages | sortAlpha | uniq | join " " -}}
{{ end -}}

View file

@ -1,4 +1,3 @@
{{- if (eq .host.distro.id "opensuse") }}
#!/usr/bin/env bash
# universal/essential-packages hash: {{ include (joinPath ".chezmoitemplates" "universal" "essential-packages") | sha256sum }}
@ -23,4 +22,3 @@ logg info 'Dependencies: {{ $packages | sortAlpha | uniq | join " " -}}'
### Install base dependencies
sudo zypper install -y {{ $packages | sortAlpha | uniq | join " " -}}
{{ end -}}

View file

@ -1,4 +1,3 @@
{{- if (eq .host.distro.id "ubuntu") }}
#!/usr/bin/env bash
# universal/essential-packages hash: {{ include (joinPath ".chezmoitemplates" "universal" "essential-packages") | sha256sum }}
@ -44,4 +43,3 @@ logg info 'Dependencies: {{ $packages | sortAlpha | uniq | join " " -}}'
sudo apt-get update
sudo apt-get install -y --no-install-recommends {{ $packages | sortAlpha | uniq | join " " -}}
{{ end -}}

View file

@ -1,5 +1,5 @@
{{- if (ne .host.distro.family "windows") }}
#!/usr/bin/env bash
{{- if (ne .host.distro.family "windows") }}
# dot_tool-versions.tmpl hash: {{ include "dot_tool-versions.tmpl" | sha256sum }}
@ -13,4 +13,5 @@ if [ -f "$ASDF_DIR/asdf.sh" ] && [ -f ~/.tool-versions ]; then
else
logg warn 'The `$ASDF_DIR/asdf.sh` or `~/.tool-versions` file is not present'
fi
{{ end -}}
{{ end -}}

View file

@ -1,5 +1,5 @@
{{- if (eq .host.headless true) }}
#!/usr/bin/env bash
{{- if (eq .host.headless true) }}
# .zshrc hash: {{ include (joinPath .chezmoi.homeDir ".zshrc")| sha256sum }}

View file

@ -1,5 +1,5 @@
{{- if (ne .host.distro.family "windows") }}
#!/usr/bin/env bash
{{- if (ne .host.distro.family "windows") }}
{{- includeTemplate "universal/profile" }}
{{- includeTemplate "universal/logg" }}

View file

@ -1,5 +1,5 @@
{{- if (ne .host.distro.family "windows") }}
#!/usr/bin/env bash
{{- if (ne .host.distro.family "windows") }}
{{- includeTemplate "universal/profile" }}
{{- includeTemplate "universal/logg" }}

View file

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

View file

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