From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 31884 invoked from network); 7 Sep 2021 08:42:45 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 7 Sep 2021 08:42:45 -0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:MIME-Version: Content-Transfer-Encoding:Content-Type:Date:Subject:Message-Id:To:From: Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References; bh=B5vEAXvv64cM3Xd3ALt+7Xl0DwnzB7ZE7ADMEsIHFAw=; b=q3Fz7uc4oZM6kKwvs6i3CRqIQK g3iKZH2f1f3ThWm3A//opNpdHi+5uWkbfQjT5f/IKtBedXYT5clzFI7It4+W9L28rCvlC5IfFPZOt piMFJ1QAih1IjEKAT80QY4JgWitL5V2VCx8xJee1NXywvSaNmfQedyYJwaLJjq2Ls8QXvEkNNpTJL sKTf73aznswP4rzbKevXu13gbZ6XCMpIAXBljPiojAI4j/B7daujvDux7d+mmh3mpQfUxKQAEyTGU SEEeaGmwZEUghe3BKnqd+y6ACtoYQAyHBM0QXHBfPR7nXE4N4lBTH3IWlSTlYWufh/6vsOdm/ZIWA eJqczKSg==; Received: from authenticated user by zero.zsh.org with local id 1mNWgl-000NRO-TR; Tue, 07 Sep 2021 08:42:43 +0000 From: "Mathieu" To: zsh-users@zsh.org Message-Id: Subject: rsync completion not working for server files when using double quotes Date: Tue, 7 Sep 2021 08:41:58 +0000 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: QUOTED-PRINTABLE MIME-Version: 1.0 X-Mailer: Sympa 6.2.62 X-Seq: 27097 Archived-At: X-Loop: zsh-users@zsh.org Errors-To: zsh-users-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-users-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: Hello, I hope I=E2=80=99m at the right place to submit that problem. I use zsh completion to navigate through rsync server directory hierarchy. I=E2=80=99ve just discovered brace expansion {start..end} and for it to wor= k, I need to double quotes the server path: noglob rsync -rlP "server:folder/file{01..03}" . will download the files file01, file02, and file03 from folder. My problem is: completion (=3Dtab=3D>) is working for folders but not files= (if there are no folders) when using double quotes: noglob rsync -rlP "server:fo =3Dtab=3D> noglob rsync -rlP "server:folder/ but noglob rsync -rlP "server:folder/fi =3Dtab=3D> will not complete the filename or display a list when using tab twice. I first opened a question on stackoverflow about it: https://stackoverflow.com/questions/69073426/rsync-server-autocompletion-no= t-working-for-files-when-using-double-quotes-on-zs If someone can help me, maybe just by providing a workaround. Using the completion before adding the quotes could work but is tedious when some names need escaping: noglob rsync -rlP server:folder\\\ with\\\ spaces/file{01..03} . noglob rsync -rlP "server:folder\\ with\\ spaces/file{01..03}" . Looking forward to reading you, Regards, Mathieu