Rclone tab completion of local path doesn't work

What is the problem you are having with rclone?

rclone doesn't let me do the usual tab completion for local paths. When I write for example rclone copy Down and I press TAB (which would usually complete to Downloads/), it does nothing. Rclone seems to be preventing my shell (zsh) to do the path completion.

The completion works for rclone options though.

What is your rclone version (output from rclone version)

$ rclone version                                                                                                                                                  
rclone v1.51.0
- os/arch: linux/amd64
- go version: go1.13.7

Which OS you are using and how many bits (eg Windows 7, 64 bit)

Linux Solus

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone copy ~/Down<TAB>

Did you run:

sudo rclone genautocomplete zsh

?

I don't have the /usr/share/zsh/vendor-completions/ folder on my machine, but I found that I already have a _rclone in /usr/share/zsh/site-functions/, which I belive is the same thing.

Also, rclone completion actually works for rclone commands. It just doesn't work for local paths (which is usually handled by the shell I think, not by the program, but I could be wrong)

I am on Ubuntu 20 and installed zsh and did the same thing and it works for me.

What OS are you on?

I just did this:

image

and hit tab when I 'te' in test typed and it finished it.

I'm using Solus distribution (https://getsol.us/home/)

I just tested on bash shell, and the completion works as it should.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.