about summary refs log tree commit diff stats
path: root/home-manager/config/lf/commands/scripts/clear_trash
blob: f2571fcc44883e871494cde8f8fab3346dfbbc6c (plain) (blame)
1
2
3
4
5
6
7
8
#! /usr/bin/env dash

# shellcheck source=/dev/null
SHELL_LIBRARY_VERSION="1.1.4" . %SHELL_LIBRARY_PATH

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