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 f2cb8022..1ab8f368 100644 --- a/home/.chezmoiscripts/universal/run_onchange_after_12-install-packages.tmpl +++ b/home/.chezmoiscripts/universal/run_onchange_after_12-install-packages.tmpl @@ -29,7 +29,11 @@ if command -v install-program > /dev/null; then . "$HOME/.bashrc" fi export LC_ALL="en_US.UTF-8" - install-program {{ $softwareList }} + if command -v unbuffer > /dev/null; then + unbuffer install-program {{ $softwareList }} + else + install-program {{ $softwareList }} + fi else logg error '`zx` is not available' fi