diff options
Diffstat (limited to '')
-rwxr-xr-x | hm/soispha/conf/lf/commands/scripts/trash | 4 |
1 files changed, 3 insertions, 1 deletions
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"; [1;31merror:[0m Error during a \`trash\` operation: Unknown { description: "Path: '\"/.Trash-1000\"'. Message: Permission denied (os error 13)" } EOF |