diff options
Diffstat (limited to 'files/.config/nnn/plugins/dups')
| -rwxr-xr-x | files/.config/nnn/plugins/dups | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/files/.config/nnn/plugins/dups b/files/.config/nnn/plugins/dups index 27c1807..d402367 100755 --- a/files/.config/nnn/plugins/dups +++ b/files/.config/nnn/plugins/dups @@ -58,13 +58,13 @@ read -r force if [ "$force" = "f" ]; then #shellcheck disable=SC2016 - sed -e "$sedcmd" "$tmpfile" | tr '\n' '\0' | xargs -0 -r sh -c 'rm -f "$0" "$@" </dev/tty' + sed -e "$sedcmd" "$tmpfile" | tr '\n' '\0' | xargs -0 -r sh -c 'rm -f -- "$0" "$@" </dev/tty' else #shellcheck disable=SC2016 - sed -e "$sedcmd" "$tmpfile" | tr '\n' '\0' | xargs -0 -r sh -c 'rm -i "$0" "$@" </dev/tty' + sed -e "$sedcmd" "$tmpfile" | tr '\n' '\0' | xargs -0 -r sh -c 'rm -i -- "$0" "$@" </dev/tty' fi -rm "$tmpfile" +rm -- "$tmpfile" printf "Press any key to exit" read -r _ |
