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

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


# could also use --force, for instand removal
trash list | fzf --multi | awk '{print $NF}' | xargs trash empty --match=exact


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