about summary refs log blame commit diff stats
path: root/home-manager/config/lf/cmds/restore_trash.sh
blob: fd4641eb7b33ad465c58dee9d9e42a0746f8e45c (plain) (tree)
1
2
3
4
5
6
7
8
                   
                             
                     
 
                                                                                

                                                                        
#!/usr/bin/env dash
# shellcheck disable=SC2086
# shellcheck source=/dev/null
. %SHELL_LIBRARY_PATH


trash list | fzf --multi | awk '{print $NF}' | xargs trash restore --match=exact



if [ -d /tmp/LIB_FILE_TEMP_DIR/ ];then rm -r /tmp/LIB_FILE_TEMP_DIR/; fi