3 ms·
This is not a feature of rsync, but of your shell. So the question "does rclone have that" doesn't make much sense, because it usually wouldn't be rclone imple
by nh2 8mo ago
This is not a feature of rsync, but of your shell.
So the question "does rclone have that" doesn't make much sense, because it usually wouldn't be rclone implementing it.
For example, zsh does it here for rsync, which actually invokes `ssh` itself:
https://github.com/zsh-users/zsh/blob/3e72a52e27d8ce8d8be0ee65ae5f77f756c06fda/Completion/Unix/Command/_rsync https://github.com/zsh-users/zsh/blob/3e72a52e27d8ce8d8be0ee...
https://github.com/zsh-users/zsh/blob/3e72a52e27d8ce8d8be0ee65ae5f77f756c06fda/Completion/Unix/Type/_remote_files#L73C15-L73C23 https://github.com/zsh-users/zsh/blob/3e72a52e27d8ce8d8be0ee...
That said, some CLI tools come with tools for shells to help them implement such things. E.g. `mytool completion-helper ...`
But I don't get rclone SSH completions in zsh, as it doesn't call `_remote_files` for rclone:
https://github.com/zsh-users/zsh/blob/3e72a52e27d8ce8d8be0ee65ae5f77f756c06fda/Completion/Unix/Command/_rclone https://github.com/zsh-users/zsh/blob/3e72a52e27d8ce8d8be0ee...