diff options
Diffstat (limited to 'modules')
-rwxr-xr-x | modules/by-name/lf/lf/commands/scripts/trash_clear.sh | 2 | ||||
-rwxr-xr-x | modules/by-name/lf/lf/commands/scripts/trash_restore.sh | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/modules/by-name/lf/lf/commands/scripts/trash_clear.sh b/modules/by-name/lf/lf/commands/scripts/trash_clear.sh index e23bcd0b..de800074 100755 --- a/modules/by-name/lf/lf/commands/scripts/trash_clear.sh +++ b/modules/by-name/lf/lf/commands/scripts/trash_clear.sh @@ -2,7 +2,7 @@ while read -r file; do set -- "$@" "$file" -done < "$(conceal list | fzf --multi | awk '{for(i=3; i<=NF; i++) {print $i}}' | tmp)" +done <"$(conceal list | fzf --multi --ansi | awk '{for(i=3; i<=NF; i++) {print $i}}' | tmp)" trash empty --match=exact "$@" diff --git a/modules/by-name/lf/lf/commands/scripts/trash_restore.sh b/modules/by-name/lf/lf/commands/scripts/trash_restore.sh index f0ddfda4..5e9847c3 100755 --- a/modules/by-name/lf/lf/commands/scripts/trash_restore.sh +++ b/modules/by-name/lf/lf/commands/scripts/trash_restore.sh @@ -11,7 +11,7 @@ id="$id" while read -r file; do set -- "$@" "$file" -done <"$(conceal list | fzf --multi | awk '{for(i=3; i<=NF; i++) {print $i}}' | tmp)" +done <"$(conceal list | fzf --multi --ansi | awk '{for(i=3; i<=NF; i++) {print $i}}' | tmp)" trash restore --match=exact "$@" # vim: ft=sh |