zsh-users
 help / color / mirror / code / Atom feed
* [more info] rsync completion not working for server files when using double quotes
@ 2021-09-08  1:06 Mathieu Clavel
  2021-09-08  1:24 ` Bart Schaefer
  0 siblings, 1 reply; 2+ messages in thread
From: Mathieu Clavel @ 2021-09-08  1:06 UTC (permalink / raw)
  To: zsh-users


[-- Attachment #1.1.1: Type: text/plain, Size: 766 bytes --]


Hi,

Sorry I have to create a new thread because I didn't receive my own email so I cannot respond to it.

I said in my previous message that completion is working for folders but not files when using double quote for the server path.
It turns out my tests for this problem where incomplete so it's not exactly that.

rsync completion stops working for files and for folders once a folder in the path uses escaping.

So it will work for: "server:/folder1/folder2/
But not for: "server:/folder\\\\ 1/
or: "server:/folder1/folder\\\\\[2\\\\\]/

It works when not using the double quotes with folder name using escaping: server:/folder\\\\\\ 1/

Regards,

Mathieu

P. S.: I removed the aliasing +zsh at the end of my email user name, it's still me.

[-- Attachment #1.1.2.1: Type: text/html, Size: 796 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 249 bytes --]

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

* Re: [more info] rsync completion not working for server files when using double quotes
  2021-09-08  1:06 [more info] rsync completion not working for server files when using double quotes Mathieu Clavel
@ 2021-09-08  1:24 ` Bart Schaefer
  0 siblings, 0 replies; 2+ messages in thread
From: Bart Schaefer @ 2021-09-08  1:24 UTC (permalink / raw)
  To: Mathieu Clavel; +Cc: Zsh Users

On Tue, Sep 7, 2021 at 6:07 PM Mathieu Clavel
<math.clavel@protonmail.com> wrote:
>
> Sorry I have to create a new thread because I didn't receive my own email so I cannot respond to it.

I found the first one, labeled spam by gmail.

> rsync completion stops working for files and for folders once a folder in the path uses escaping.

There are some generic issues with completion of strings in unmatched
quotes, because they have to be canonicalized and then converted back
again.

Since it doesn't appear from your examples that you're depending on
complete_in_word, have you tried simply adding the closing quote mark
before pressing TAB?


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

end of thread, other threads:[~2021-09-08  1:25 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-08  1:06 [more info] rsync completion not working for server files when using double quotes Mathieu Clavel
2021-09-08  1:24 ` Bart Schaefer

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

	https://git.vuxu.org/mirror/zsh/

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).