From 4c714c565e547a1f99153b0665feada291b9fe80 Mon Sep 17 00:00:00 2001 From: Thomas Dehaeze Date: Sun, 6 Feb 2022 22:05:26 +0100 Subject: [PATCH] Update drag-and-drop command --- mail.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mail.org b/mail.org index 824faf1..baf3e36 100644 --- a/mail.org +++ b/mail.org @@ -676,7 +676,7 @@ tmpfile=/tmp/rangerpick if [ -z "$1" ]; then ranger --choosefiles $tmpfile && sed -i 's/\s/\\ /g' $tmpfile && echo "$(awk 'BEGIN {printf "%s", "push "} {printf "%s", ""$0""}' $tmpfile)" > $tmpfile elif [ $1 == "dragon" ]; then - dragon-drag-and-drop --target --print-path --keep > $tmpfile && sed -i 's/\s/\\ /g' $tmpfile && echo "$(awk 'BEGIN {printf "%s", "push "} {printf "%s", ""$0""}' $tmpfile)" > $tmpfile + dragon --target --print-path --keep > $tmpfile && sed -i 's/\s/\\ /g' $tmpfile && echo "$(awk 'BEGIN {printf "%s", "push "} {printf "%s", ""$0""}' $tmpfile)" > $tmpfile elif [ $1 == "clean" ]; then ls $tmpfile fi