You are not logged in.
Some days ago I noticed that when using tab completion for rsync the remote path would no longer do tab completion within a bash shell - so for example normally I might do something like:
rsync -av localserver:~/Doc and hit tab which then normally completes the Documents/ and so on. But nothing happened when I hit tab.
Yet if I typed the whole path myself, and then continued after the space with the local path - tab completion worked fine. I was really puzzled.
But on all my other machines the remote path (and local) tab completion worked with no problem at all - so I began to investigate, and asked myself did I have some oddball in the .local/share/ area or the .cache/ ? but I couldn't find anything.
Anyway after a lot of searching, including in the Arch forums, I eventually came to realise that only on that one machine did I have the package bash-completion installed.
So finally I did pacman -R bash-completion, and immediately rsync tab completion for remote (and local) paths works fine again - tab autocompletion always worked fine for everything else! So I presume a recent update in the bash-completion package had a bug!
Anyway it is solved but thought I would mention it in case anyone else has that package installed and came across this same problem.
Mike C
Offline
Bro, mine just won't work, i already uninstalled the bash-completion and it didn't work.
caelumaee@archlinux:~$ uname -r
6.18.58-1-ltsidk if my kernel has something to do with ts, i'm pretty new on arch ![]()
Offline
@caelumaee please consider starting a new thread for your issue. Include what details such as the shell you are using which completion you believe should be being used and the contents of that completion file. Outputs demonstrating the path you want completion for exists. All shell startup files for a session with the issue and the version of all related packages such as the shell involved and rsync.
Offline