diff --git a/dotfiles/.local/share/chezmoi/home/.chezmoiscripts/archlinux/run_onchange_before_10_install-archlinux-dependencies.tmpl b/dotfiles/.local/share/chezmoi/home/.chezmoiscripts/archlinux/run_onchange_before_10_install-archlinux-dependencies.tmpl index b80b4aca..25f46560 100644 --- a/dotfiles/.local/share/chezmoi/home/.chezmoiscripts/archlinux/run_onchange_before_10_install-archlinux-dependencies.tmpl +++ b/dotfiles/.local/share/chezmoi/home/.chezmoiscripts/archlinux/run_onchange_before_10_install-archlinux-dependencies.tmpl @@ -16,7 +16,7 @@ {{- end }} logg 'Installing common dependencies using `pacman`' -logg info 'Dependencies: `{{ $packages | sortAlpha | uniq | join "` `" -}}`' +logg info 'Dependencies: {{ $packages | sortAlpha | uniq | join " " -}}' ### Install base dependencies sudo pacman -Sy --noconfirm --needed {{ $packages | sortAlpha | uniq | join " " -}} diff --git a/dotfiles/.local/share/chezmoi/home/.chezmoiscripts/centos/run_onchange_before_10-install-centos-dependencies.tmpl b/dotfiles/.local/share/chezmoi/home/.chezmoiscripts/centos/run_onchange_before_10-install-centos-dependencies.tmpl index 76b263ce..f0a5aad3 100644 --- a/dotfiles/.local/share/chezmoi/home/.chezmoiscripts/centos/run_onchange_before_10-install-centos-dependencies.tmpl +++ b/dotfiles/.local/share/chezmoi/home/.chezmoiscripts/centos/run_onchange_before_10-install-centos-dependencies.tmpl @@ -7,7 +7,7 @@ # TODO - Add Python dependencies like in ubuntu/archlinux logg 'Installing common dependencies using `dnf`' -logg info 'Dependencies: `{{ $packages | sortAlpha | uniq | join "` `" -}}`' +logg info 'Dependencies: {{ $packages | sortAlpha | uniq | join " " -}}' ### Install base dependencies sudo dnf install -y {{ $packages | sortAlpha | uniq | join " " -}} diff --git a/dotfiles/.local/share/chezmoi/home/.chezmoiscripts/darwin/run_onchange_before_10_install-darwin-dependencies.tmpl b/dotfiles/.local/share/chezmoi/home/.chezmoiscripts/darwin/run_onchange_before_10_install-darwin-dependencies.tmpl index 910d5824..8a9416f8 100644 --- a/dotfiles/.local/share/chezmoi/home/.chezmoiscripts/darwin/run_onchange_before_10_install-darwin-dependencies.tmpl +++ b/dotfiles/.local/share/chezmoi/home/.chezmoiscripts/darwin/run_onchange_before_10_install-darwin-dependencies.tmpl @@ -1,5 +1,4 @@ #!/usr/bin/env bash -{{- if eq .host.distro.id "darwin" }} # Required for styled logging {{- includeTemplate "universal/logg" }} @@ -21,10 +20,9 @@ eval $(/usr/local/bin/brew shellenv) {{- end }} logg 'Installing base dependencies for macOS using `brew bundle`' -logg info 'Dependencies: `asdf` `jq` `node` `go-task/tap/go-task` `volta` `yq` `m-cli` `zx`' -logg info 'GNU compatibility dependencies: `coreutils` `findutils` `gawk` `gnu-getopt` `gnu-indent` `gnu-tar` `gnu-sed` `gnutls` `grep`' +logg info 'Dependencies: asdf jq node `go-task/tap/go-task volta yq m-cli zx' +logg info 'GNU compatibility dependencies: coreutils findutils gawk gnu-getopt gnu-indent gnu-tar gnu-sed gnutls grep' brew bundle --verbose --no-lock --file=/dev/stdin </dev/null; then elif [ -f "$COMPLETION_DIR/zoxide.bash" ]; then rm "$COMPLETION_DIR/zoxide.bash" fi -{{- end }} diff --git a/dotfiles/.local/share/chezmoi/home/.chezmoiscripts/universal/run_onchange_after_99_bootstrap-z4h.tmpl b/dotfiles/.local/share/chezmoi/home/.chezmoiscripts/universal/run_onchange_after_99_bootstrap-z4h.tmpl index 02a91acf..a5970dbd 100644 --- a/dotfiles/.local/share/chezmoi/home/.chezmoiscripts/universal/run_onchange_after_99_bootstrap-z4h.tmpl +++ b/dotfiles/.local/share/chezmoi/home/.chezmoiscripts/universal/run_onchange_after_99_bootstrap-z4h.tmpl @@ -8,3 +8,4 @@ logg 'Bootstrapping Z4H' Z4H_BOOTSTRAPPING=1 exec zsh && exit 0 {{- end }} +# TODO diff --git a/dotfiles/.local/share/chezmoi/home/.chezmoiscripts/universal/run_onchange_before_1-logging-deps.tmpl b/dotfiles/.local/share/chezmoi/home/.chezmoiscripts/universal/run_onchange_before_1-logging-deps similarity index 97% rename from dotfiles/.local/share/chezmoi/home/.chezmoiscripts/universal/run_onchange_before_1-logging-deps.tmpl rename to dotfiles/.local/share/chezmoi/home/.chezmoiscripts/universal/run_onchange_before_1-logging-deps index 640e8e23..f909d193 100644 --- a/dotfiles/.local/share/chezmoi/home/.chezmoiscripts/universal/run_onchange_before_1-logging-deps.tmpl +++ b/dotfiles/.local/share/chezmoi/home/.chezmoiscripts/universal/run_onchange_before_1-logging-deps @@ -1,5 +1,4 @@ #!/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 # @example installGlow @@ -69,4 +68,3 @@ echo "Ensuring Gum and Glow are installed (for logging)" installGlow & installGum & wait -{{- end }}