Fixed "set +x" printing at the end of some scripts
This commit is contained in:
4
home.nix
4
home.nix
@@ -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
|
||||
'')
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user