diff options
author | ene <ene@sils.li> | 2023-03-18 15:31:01 +0100 |
---|---|---|
committer | ene <ene@sils.li> | 2023-03-18 15:50:27 +0100 |
commit | 0c9348dc8c33372bb919d2f7a0d357391557f8a6 (patch) | |
tree | f95225da82375fbf1b1811ecf93543a440ec1b4c /home-manager/config/lf/cmds | |
parent | Fix(hm/conf/lf): Allow trashing of files on the temp fs (diff) | |
download | nixos-config-0c9348dc8c33372bb919d2f7a0d357391557f8a6.tar.gz nixos-config-0c9348dc8c33372bb919d2f7a0d357391557f8a6.zip |
Fix(hm/conf/lf): Use the correct formatting for the output
Diffstat (limited to 'home-manager/config/lf/cmds')
-rwxr-xr-x | home-manager/config/lf/cmds/trash | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/home-manager/config/lf/cmds/trash b/home-manager/config/lf/cmds/trash index 78018721..9e2e6aa4 100755 --- a/home-manager/config/lf/cmds/trash +++ b/home-manager/config/lf/cmds/trash @@ -11,7 +11,7 @@ expected_error_output=$(mktmp); nix run nixpkgs#trashy -- put "$fx" 2> $trash_output; cat << EOF > $expected_error_output; -error: Error during a \`trash\` operation: Unknown { description: "Path: '\"/.Trash-1000\"'. Message: Permission denied (os error 13)" } +[1;31merror:[0m Error during a \`trash\` operation: Unknown { description: "Path: '\"/.Trash-1000\"'. Message: Permission denied (os error 13)" } EOF if [ "$(cat $expected_error_output)" = "$(cat $trash_output)" ];then |