help / color / mirror / code / Atom feed
* rsync completions
@ 2022-08-18 18:07 Alan Orth
  2022-08-18 23:57 ` Bart Schaefer
  0 siblings, 1 reply; 4+ messages in thread
From: Alan Orth @ 2022-08-18 18:07 UTC (permalink / raw)
  To: zsh-workers

[-- Attachment #1: Type: text/plain, Size: 1270 bytes --]

Dear zsh-workers,

A few months ago the zsh completions for rsync stopped working correctly.
Tab completion of remote paths currently triple escapes special characters,
for example:

$ rsync -av\\\ File\\\ With\\\ Spaces ~/

This now results in an error, ie:

rsync: link_stat "/home/me/downloads/Some\ File\ With\ Spaces" failed:
No such file or directory (2)

I have to manually correct the triple escapes to use a single escape like
this for it to work:

$ rsync -av\ File\ With\ Spaces ~/

After some research I found that rsync 3.2.4 introduced changes to argument
parsing behavior¹ on 2022-04-15. This was patched by the fish shell²
recently shortly after the rsync 3.2.4 release.

Apologies if the zsh-workers is not the correct place to post this. I would
appreciate any advice or assistance on this, for example if it's a
distribution issue I will gladly file an issue elsewhere. I'm on Arch Linux
with zsh 5.9 and rsync 3.2.5.

Thank you!

¹ https://download.samba.org/pub/rsync/NEWS#3.2.4
² https://github.com/fish-shell/fish-shell/issues/8895

Alan Orth

[-- Attachment #2: Type: text/html, Size: 2024 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-08-20 20:35 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-18 18:07 rsync completions Alan Orth
2022-08-18 23:57 ` Bart Schaefer
2022-08-19  2:26   ` Mikael Magnusson
2022-08-20 20:29     ` Alan Orth

Code repositories for project(s) associated with this public inbox


This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).