zsh-users
 help / color / mirror / 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

zsh-users

This inbox may be cloned and mirrored by anyone:

	git clone --mirror https://inbox.vuxu.org/zsh-users

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 zsh-users zsh-users/ https://inbox.vuxu.org/zsh-users \
		zsh-users@zsh.org
	public-inbox-index zsh-users

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.zsh.users


code repositories for the project(s) associated with this inbox:

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

AGPL code for this site: git clone https://public-inbox.org/public-inbox.git