diff --git a/home/.chezmoiscripts/universal/run_onchange_after_12-install-packages.tmpl b/home/.chezmoiscripts/universal/run_onchange_after_12-install-packages.tmpl index 1ab8f368..f2cb8022 100644 --- a/home/.chezmoiscripts/universal/run_onchange_after_12-install-packages.tmpl +++ b/home/.chezmoiscripts/universal/run_onchange_after_12-install-packages.tmpl @@ -29,11 +29,7 @@ if command -v install-program > /dev/null; then . "$HOME/.bashrc" fi export LC_ALL="en_US.UTF-8" - if command -v unbuffer > /dev/null; then - unbuffer install-program {{ $softwareList }} - else - install-program {{ $softwareList }} - fi + install-program {{ $softwareList }} else logg error '`zx` is not available' fi diff --git a/local/provision.sh b/local/provision.sh index 1d164df1..b365c184 100644 --- a/local/provision.sh +++ b/local/provision.sh @@ -427,7 +427,7 @@ export DEBIAN_FRONTEND=noninteractive # shellcheck disable=SC2016 logg info 'Running `chezmoi apply`' if [ -n "$FORCE_CHEZMOI" ]; then - chezmoi apply -k --force 2>&1 | tee "${XDG_DATA_DIR:-$HOME/.local/share}/megabyte-labs/betelgeuse.$(date +%s).log" + chezmoi apply -k --force 2>&1 | tee "${XDG_DATA_DIR:-$HOME/.local/share}/megabyte-labs/betelgeuse.$(date +%s).log" | grep --line-buffered else - chezmoi apply -k 2>&1 | tee "${XDG_DATA_DIR:-$HOME/.local/share}/megabyte-labs/betelgeuse.$(date +%s).log" + chezmoi apply -k 2>&1 | tee "${XDG_DATA_DIR:-$HOME/.local/share}/megabyte-labs/betelgeuse.$(date +%s).log" | grep --line-buffered fi