You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[[manager.prepend_keymap]]
on = ["R"]
run = "plugin rsync"desc = "Copy files using rsync"
If I select multiple files and press R: no issue, the prompt is showing up and I can manually type [user]@[remote]:<destination>.
However, if I select only one file or hover a file and press R, the task is stuck at 99% and the following error is displayed in task manager:
Micro plugin failed:runtime error: [string "rsync"]:33: attempt to concatenate a nil value (local 'remote_target')stack traceback: [string "rsync"]:33: in function <[string "rsync"]:21>
Note that
[[manager.prepend_keymap]]
on = ["R"]
run = "plugin rsync --args='[email protected]'"desc = "Copy files using rsync to default location"
works just fine even if selecting/hovering a single file.
% cat /etc/os-releaseNAME=GentooID=gentooPRETTY_NAME="Gentoo Linux"ANSI_COLOR="1;32"HOME_URL="https://www.gentoo.org/"SUPPORT_URL="https://www.gentoo.org/support/"BUG_REPORT_URL="https://bugs.gentoo.org/"VERSION_ID="2.15"
% yazi -VYazi 0.3.1 (99a3b3a 2024-08-16)
% rsync --versionrsync version 3.3.0 protocol version 31
The text was updated successfully, but these errors were encountered:
I have seen issues with the command failing or expecting input and the task not terminating so there should be some improvements made to handle cases like this
With:
If I select multiple files and press
R
: no issue, the prompt is showing up and I can manually type[user]@[remote]:<destination>
.However, if I select only one file or hover a file and press
R
, the task is stuck at 99% and the following error is displayed in task manager:Note that
works just fine even if selecting/hovering a single file.
The text was updated successfully, but these errors were encountered: