zsh-users / zsh-completions

Additional completion definitions for Zsh.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

rsync remote files: escape with 3 slashes instead of normally 1

faxotherapy opened this issue · comments

This is what I have when pressing tab key; auto-completion with 3 slashes instead of 1:

% rsync -Pazh mini:Downloads/25\\\ Amazing\\\ Facts\\\ About\\\ the\\\ Hidden\\\ History\\\ of\\\ Medicine.pdf .
receiving file list ...
rsync: link_stat "/Users/hfa/Downloads/25\ Amazing\ Facts\ About\ the\ Hidden\ History\ of\ Medicine.pdf" failed: No such file or directory (2)
0 files to consider
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1881) [Receiver=3.2.7]

I systematically need to delete two slahes so as to have only one for the transfer to work. Not convenient.

% rsync -Pazh mini:Downloads/25\ Amazing\ Facts\ About\ the\ Hidden\ History\ of\ Medicine.pdf .
receiving file list ... 1 file to consider

rsync completion provided by zsh itself (it come out of the box) and is not the part of this collection.
Please, create an issue about that in zsh's tracker