about summary refs log tree commit diff stats
path: root/hm
diff options
context:
space:
mode:
authorSoispha <soispha@vhack.eu>2023-08-29 13:16:54 +0200
committerSoispha <soispha@vhack.eu>2023-08-29 13:16:54 +0200
commitc7c1a6335b63daf2396f7b569367df323771dae2 (patch)
treedff1d492cfb6967ad42966a8edc6c520ee2689e7 /hm
parentFix(hm/conf/lf/colors): Add a bg color for executable files (diff)
downloadnixos-config-c7c1a6335b63daf2396f7b569367df323771dae2.tar.gz
nixos-config-c7c1a6335b63daf2396f7b569367df323771dae2.zip
Docs(hm/conf/lf/commads/trash): Add fixme about the implementation
Diffstat (limited to 'hm')
-rwxr-xr-xhm/soispha/conf/lf/commands/scripts/trash4
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";
 error: Error during a \`trash\` operation: Unknown { description: "Path: '\"/.Trash-1000\"'. Message: Permission denied (os error 13)" }
 EOF