Fixed "set +x" printing at the end of some scripts

This commit is contained in:
2024-04-14 23:32:12 +01:00
parent 9fb43927aa
commit 033f0e3cf5

View File

@@ -81,7 +81,7 @@
set -x
nix-channel --update
home-manager switch -b backup
set +x
{ set +x; } 2>/dev/null
'')
(writeShellScriptBin "update" ''
@@ -138,7 +138,7 @@
nix-channel --update
nix-collect-garbage --delete-older-than 7d
home-manager switch
set +x
{ set +x; } 2>/dev/null
'')
];