From c7c1a6335b63daf2396f7b569367df323771dae2 Mon Sep 17 00:00:00 2001 From: Soispha Date: Tue, 29 Aug 2023 13:16:54 +0200 Subject: Docs(hm/conf/lf/commads/trash): Add fixme about the implementation --- hm/soispha/conf/lf/commands/scripts/trash | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'hm') diff --git a/hm/soispha/conf/lf/commands/scripts/trash b/hm/soispha/conf/lf/commands/scripts/trash index 8dd6033d..ddf63a1e 100755 --- a/hm/soispha/conf/lf/commands/scripts/trash +++ b/hm/soispha/conf/lf/commands/scripts/trash @@ -11,9 +11,11 @@ while read -r file; do done < "$(tmp "echo '$fx'")" # TODO: why are we using trashy at all, when trash-cli can do everything? -# try trashy first, trough nix because both trashy and trash-cli provide a trash command, which conflicts +# +# try trashy first, through nix because both trashy and trash-cli provide a trash command, which conflicts nix run nixpkgs#trashy -- put "$@" 2> "$trash_output"; +# FIXME: Find a way, that does not depend on parsing an error message <2023-08-29> cat << EOF > "$expected_error_output"; error: Error during a \`trash\` operation: Unknown { description: "Path: '\"/.Trash-1000\"'. Message: Permission denied (os error 13)" } EOF -- cgit 1.4.1