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
|
set -x
|
||||||
nix-channel --update
|
nix-channel --update
|
||||||
home-manager switch -b backup
|
home-manager switch -b backup
|
||||||
set +x
|
{ set +x; } 2>/dev/null
|
||||||
'')
|
'')
|
||||||
|
|
||||||
(writeShellScriptBin "update" ''
|
(writeShellScriptBin "update" ''
|
||||||
@@ -138,7 +138,7 @@
|
|||||||
nix-channel --update
|
nix-channel --update
|
||||||
nix-collect-garbage --delete-older-than 7d
|
nix-collect-garbage --delete-older-than 7d
|
||||||
home-manager switch
|
home-manager switch
|
||||||
set +x
|
{ set +x; } 2>/dev/null
|
||||||
'')
|
'')
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user