about summary refs log tree commit diff stats
path: root/home-manager/config/lf/cmds/restore_trash.sh
diff options
context:
space:
mode:
Diffstat (limited to 'home-manager/config/lf/cmds/restore_trash.sh')
-rw-r--r--home-manager/config/lf/cmds/restore_trash.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/home-manager/config/lf/cmds/restore_trash.sh b/home-manager/config/lf/cmds/restore_trash.sh
new file mode 100644
index 00000000..432e9e9b
--- /dev/null
+++ b/home-manager/config/lf/cmds/restore_trash.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+# shellcheck disable=SC2086
+# shellcheck source=/dev/null
+. ~/.local/lib/shell/lib
+
+
+trash-restore
+
+
+if [ -d /tmp/LIB_FILE_TEMP_DIR/ ];then rm -r /tmp/LIB_FILE_TEMP_DIR/; fi