nnn

mirror of https://github.com/jarun/nnn
Log | Files | Refs | README | LICENSE

commit 4534fd3f0cea6573db413b7bd11c03ba72ffaf9c
parent d5985ac8054288cecca85e64e1ab3c5f77ee4334
Author: beast989898 <98_beast_98@protonmail.com>
Date:   Fri,  1 Aug 2025 20:32:30 -0400

Add show-error flag to curl

Diffstat:
Mplugins/dragdrop | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/dragdrop b/plugins/dragdrop @@ -66,7 +66,7 @@ elif [ "$resp" = "r" ]; then "$dnd" --print-path --target 2>/dev/null | while read -r f do if printf "%s" "$f" | grep -q '^\(https\?\|ftps\?\|s\?ftp\)://' ; then - if curl -fsLJO "$f"; then + if curl -fsLJOS "$f"; then filename="$(basename "${f%%\?*}")" add_file "$PWD/$filename" if [ $notify = 1 ]; then