diff options
author | Soispha <soispha@vhack.eu> | 2023-08-29 13:16:54 +0200 |
---|---|---|
committer | Soispha <soispha@vhack.eu> | 2023-08-29 13:16:54 +0200 |
commit | c7c1a6335b63daf2396f7b569367df323771dae2 (patch) | |
tree | dff1d492cfb6967ad42966a8edc6c520ee2689e7 | |
parent | Fix(hm/conf/lf/colors): Add a bg color for executable files (diff) | |
download | nixos-config-c7c1a6335b63daf2396f7b569367df323771dae2.tar.gz nixos-config-c7c1a6335b63daf2396f7b569367df323771dae2.zip |
Docs(hm/conf/lf/commads/trash): Add fixme about the implementation
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 |