]> Sergey Matveev's repositories - nnn.git/commitdiff
Update plugins/gsconnect
authordaru <54768193+Darukutsu@users.noreply.github.com>
Tue, 22 Feb 2022 16:04:43 +0000 (17:04 +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 1a4811266b73d6bbf64bf6d756bb3cca53bc4dc6..1b71aaf1da679646aee11cae6c3c1ea80a2032fd 100755 (executable)
@@ -11,7 +11,7 @@ gsconnect=$HOME/.local/share/gnome-shell/extensions/gsconnect@andyholmes.github.
 id=$($gsconnect -l)
 
 if [ -s "$selection" ]; then
-       xargs -0 -a $selection -i $gsconnect -d "$id" --share-file="{}"
+    xargs -0 < "$selection" -I{} "$gsconnect" -d "$id" --share-file="{}"
     # Clear selection
     printf "-" > "$NNN_PIPE"
 else