diff options
-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 |