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:
parent
9ac58cd435
commit
be4661f337
27 changed files with 31 additions and 25 deletions
|
@ -1,5 +1,5 @@
|
||||||
{{- if eq .host.distro.id "arch" }}
|
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
{{- if eq .host.distro.id "arch" }}
|
||||||
|
|
||||||
# Required for styled logging
|
# Required for styled logging
|
||||||
{{- includeTemplate "universal/logg" }}
|
{{- includeTemplate "universal/logg" }}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
{{- if eq .host.distro.id "arch" }}
|
{{- if eq .host.distro.id "arch" }}
|
||||||
{{ $supportedManagers := (list "flatpak" "snap" "whalebrew" "pacman" "brew" "yay" "go" "cargo" "npm" "pipx" "gem" "appimage" "binary") }}
|
{{ $supportedManagers := (list "flatpak" "snap" "whalebrew" "pacman" "brew" "yay" "go" "cargo" "npm" "pipx" "gem" "appimage" "binary") }}
|
||||||
#!/usr/bin/env bash
|
|
||||||
echo "Hey"
|
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{{- if eq .host.distro.id "centos" }}
|
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
{{- if eq .host.distro.id "centos" }}
|
||||||
|
|
||||||
# Required for styled logging
|
# Required for styled logging
|
||||||
{{- includeTemplate "universal/logg" }}
|
{{- includeTemplate "universal/logg" }}
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
{{- if eq .host.distro.id "centos" }}
|
{{- if eq .host.distro.id "centos" }}
|
||||||
{{ $supportedManagers := (list "flatpak" "snap" "whalebrew" "dnf" "brew" "go" "cargo" "npm" "pipx" "gem" "appimage" "binary") }}
|
{{ $supportedManagers := (list "flatpak" "snap" "whalebrew" "dnf" "brew" "go" "cargo" "npm" "pipx" "gem" "appimage" "binary") }}
|
||||||
#!/usr/bin/env bash
|
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{{- if eq .host.distro.id "darwin" }}
|
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
{{- if eq .host.distro.id "darwin" }}
|
||||||
|
|
||||||
set -x
|
set -x
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{{- if eq .host.distro.id "darwin" }}
|
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
{{- if eq .host.distro.id "darwin" }}
|
||||||
|
|
||||||
set -eufo pipefail
|
set -eufo pipefail
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{{- if eq .host.distro.id "darwin" }}
|
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
{{- if eq .host.distro.id "darwin" }}
|
||||||
|
|
||||||
# Required for styled logging
|
# Required for styled logging
|
||||||
{{- includeTemplate "universal/logg" }}
|
{{- includeTemplate "universal/logg" }}
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
{{- if eq .host.distro.id "darwin" }}
|
{{- if eq .host.distro.id "darwin" }}
|
||||||
{{- $supportedManagers := (list "whalebrew" "brew" "port" "go" "cargo" "npm" "pipx" "gem" "cask" "binary") }}
|
{{- $supportedManagers := (list "whalebrew" "brew" "port" "go" "cargo" "npm" "pipx" "gem" "cask" "binary") }}
|
||||||
{{- $packageMap := (get .installerMap $packageName) }}
|
{{- $packageMap := (get .installerMap $packageName) }}
|
||||||
|
@ -6,7 +7,6 @@
|
||||||
{{- range index $deps }}
|
{{- range index $deps }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
{{- end }}
|
{{- end }}
|
||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
# Examples of /etc/os-release values https://gist.github.com/natefoo/814c5bf936922dad97ff
|
# 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
|
# Example fromJson with include from file https://github.com/twpayne/chezmoi/issues/1369
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{{- if eq .host.distro.id "ubuntu" }}
|
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
{{- if eq .host.distro.id "ubuntu" }}
|
||||||
|
|
||||||
# Required for styled logging
|
# Required for styled logging
|
||||||
{{- includeTemplate "universal/logg" }}
|
{{- includeTemplate "universal/logg" }}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
{{- if eq .host.distro.id "debian" }}
|
{{- if eq .host.distro.id "debian" }}
|
||||||
{{ $supportedManagers := (list "flatpak" "snap" "whalebrew" "apt" "brew" "go" "cargo" "npm" "pipx" "gem" "appimage" "binary") }}
|
{{ $supportedManagers := (list "flatpak" "snap" "whalebrew" "apt" "brew" "go" "cargo" "npm" "pipx" "gem" "appimage" "binary") }}
|
||||||
#!/usr/bin/env bash
|
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{{- if eq .host.distro.id "fedora" }}
|
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
{{- if eq .host.distro.id "fedora" }}
|
||||||
|
|
||||||
# Required for styled logging
|
# Required for styled logging
|
||||||
{{- includeTemplate "universal/logg" }}
|
{{- includeTemplate "universal/logg" }}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
{{- if eq .host.distro.id "fedora" }}
|
{{- if eq .host.distro.id "fedora" }}
|
||||||
{{ $supportedManagers := (list "flatpak" "snap" "whalebrew" "dnf" "brew" "go" "cargo" "npm" "pipx" "gem" "appimage" "binary") }}
|
{{ $supportedManagers := (list "flatpak" "snap" "whalebrew" "dnf" "brew" "go" "cargo" "npm" "pipx" "gem" "appimage" "binary") }}
|
||||||
#!/usr/bin/env bash
|
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
{{- if eq .host.distro.id "opensuse" }}
|
{{- if eq .host.distro.id "opensuse" }}
|
||||||
{{ $supportedManagers := (list "whalebrew" "pkg" "go" "cargo" "npm" "gem") }}
|
{{ $supportedManagers := (list "whalebrew" "pkg" "go" "cargo" "npm" "gem") }}
|
||||||
#!/usr/bin/env bash
|
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{{- if eq .host.distro.id "freebsd" }}
|
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
{{- if eq .host.distro.id "freebsd" }}
|
||||||
|
|
||||||
# Required for styled logging
|
# Required for styled logging
|
||||||
{{- includeTemplate "universal/logg" }}
|
{{- includeTemplate "universal/logg" }}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
{{- if eq .host.distro.id "opensuse" }}
|
{{- if eq .host.distro.id "opensuse" }}
|
||||||
{{ $supportedManagers := (list "flatpak" "snap" "whalebrew" "zypper" "brew" "go" "cargo" "npm" "pipx" "gem" "appimage" "binary") }}
|
{{ $supportedManagers := (list "flatpak" "snap" "whalebrew" "zypper" "brew" "go" "cargo" "npm" "pipx" "gem" "appimage" "binary") }}
|
||||||
#!/usr/bin/env bash
|
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{{- if eq .host.distro.id "opensuse" }}
|
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
{{- if eq .host.distro.id "opensuse" }}
|
||||||
|
|
||||||
# Required for styled logging
|
# Required for styled logging
|
||||||
{{- includeTemplate "universal/logg" }}
|
{{- includeTemplate "universal/logg" }}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{{- if eq .host.distro.id "ubuntu" }}
|
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
{{- if eq .host.distro.id "ubuntu" }}
|
||||||
|
|
||||||
# Required for styled logging
|
# Required for styled logging
|
||||||
{{- includeTemplate "universal/logg" }}
|
{{- includeTemplate "universal/logg" }}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
{{- if eq .host.distro.id "ubuntu" }}
|
{{- if eq .host.distro.id "ubuntu" }}
|
||||||
{{- $supportedManagers := (list "flatpak" "snap" "whalebrew" "apt" "brew" "go" "cargo" "npm" "pipx" "gem" "appimage" "binary") }}
|
{{- $supportedManagers := (list "flatpak" "snap" "whalebrew" "apt" "brew" "go" "cargo" "npm" "pipx" "gem" "appimage" "binary") }}
|
||||||
#!/usr/bin/env bash
|
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,6 @@
|
||||||
{{- if false }}
|
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
{{- if false }}
|
||||||
|
|
||||||
set -eufo pipefail
|
set -eufo pipefail
|
||||||
|
|
||||||
# Required for PATHs (including logging)
|
# Required for PATHs (including logging)
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{{- if or (eq .host.distro.id "darwin") (eq .host.distro.family "linux") }}
|
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
{{- if or (eq .host.distro.id "darwin") (eq .host.distro.family "linux") }}
|
||||||
|
|
||||||
# dot_tool-versions.tmpl hash: {{ include "dot_tool-versions.tmpl" | sha256sum }}
|
# dot_tool-versions.tmpl hash: {{ include "dot_tool-versions.tmpl" | sha256sum }}
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{{- if and (or (eq .host.distro.id "darwin") (eq .host.distro.family "linux")) false }}
|
|
||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
|
{{- if and (or (eq .host.distro.id "darwin") (eq .host.distro.family "linux")) false }}
|
||||||
|
|
||||||
# {{ output "sha256sum" (joinPath .chezmoi.sourceDir "private_dot_config/crontab/config") }}
|
# {{ output "sha256sum" (joinPath .chezmoi.sourceDir "private_dot_config/crontab/config") }}
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
{{ if or (eq .chezmoi.os "linux") (eq .chezmoi.os "darwin") }}
|
{{ if or (eq .chezmoi.os "linux") (eq .chezmoi.os "darwin") }}
|
||||||
#!/bin/sh
|
|
||||||
|
|
||||||
source "$HOME/.config/shell/exports"
|
source "$HOME/.config/shell/exports"
|
||||||
echo 'Cleaning up unnecessary artifacts'
|
echo 'Cleaning up unnecessary artifacts'
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{{- if or (eq .host.distro.id "darwin") (eq .host.distro.family "linux") }}
|
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
{{- if or (eq .host.distro.id "darwin") (eq .host.distro.family "linux") }}
|
||||||
|
|
||||||
# {{ output "sha256sum" (joinPath .chezmoi.sourceDir ".chezmoidata.yaml") }}
|
# {{ output "sha256sum" (joinPath .chezmoi.sourceDir ".chezmoidata.yaml") }}
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{{- if and false .host.headless -}}
|
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
{{- if and false .host.headless -}}
|
||||||
|
|
||||||
# Required for PATHs (including logging)
|
# Required for PATHs (including logging)
|
||||||
source "$HOME/.config/shell/exports"
|
source "$HOME/.config/shell/exports"
|
||||||
|
|
|
@ -1,4 +1,5 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
{{- if or (eq .host.distro.id "darwin") (eq .host.distro.family "linux") }}
|
||||||
|
|
||||||
# @description Installs glow (a markdown renderer) from GitHub releases
|
# @description Installs glow (a markdown renderer) from GitHub releases
|
||||||
# @example installGlow
|
# @example installGlow
|
||||||
|
@ -68,3 +69,4 @@ echo "Ensuring Gum and Glow are installed (for logging)"
|
||||||
installGlow &
|
installGlow &
|
||||||
installGum &
|
installGum &
|
||||||
wait
|
wait
|
||||||
|
{{- end -}}
|
||||||
|
|
|
@ -1,2 +1,3 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
{{- if eq .host.distro.id "windows" }}
|
{{- if eq .host.distro.id "windows" }}
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
{{- if eq .host.distro.id "windows" }}
|
{{- if eq .host.distro.id "windows" }}
|
||||||
{{ $supportedManagers := (list "whalebrew" "choco" "scoop" "winget" "go" "cargo" "npm" "pipx" "gem" "binary") }}
|
{{ $supportedManagers := (list "whalebrew" "choco" "scoop" "winget" "go" "cargo" "npm" "pipx" "gem" "binary") }}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue