]> Sergey Matveev's repositories - nnn.git/commitdiff
Update plugins/gsconnect
authordaru <54768193+Darukutsu@users.noreply.github.com>
Tue, 22 Feb 2022 16:02:02 +0000 (17:02 +0100)
committerNRK <nrk@disroot.org>
Tue, 22 Feb 2022 16:19:44 +0000 (22:19 +0600)
Co-authored-by: N-R-K <79544946+N-R-K@users.noreply.github.com>
plugins/gsconnect

index 90c703b228d01b45d3ddcb2f88cd6057623da80a..1a4811266b73d6bbf64bf6d756bb3cca53bc4dc6 100755 (executable)
@@ -15,5 +15,5 @@ if [ -s "$selection" ]; then
     # Clear selection
     printf "-" > "$NNN_PIPE"
 else
-       $gsconnect -d "$id" --share-file="$(pwd)/$1"
+    "$gsconnect" -d "$id" --share-file="$2/$1"
 fi