Remote path autocompletion does not work if path is prefixed with single (') or double (") quotation mark. This is an issue if I want to autocomplete part of the path, but want to paste the other part - pasting only really works if its in quotes, as the paste path won't be escaped.
Run the command 'rclone version' and share the full output of the command.
It seems to work with local paths for rclone and for the github CLI tool, which also uses cobra. It works for rclone with its commands as well, but not for github CLI. So I think this could be an implementation issue, rather than an issue with cobra?