From 09f69544056d011a3153ed8df9f3191b584f065e Mon Sep 17 00:00:00 2001 From: Brian Zalewski Date: Tue, 10 Jan 2023 08:05:54 +0000 Subject: [PATCH] Update file run_onchange_after_12-install-packages.tmpl --- .../universal/run_onchange_after_12-install-packages.tmpl | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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