Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rsync, TAB completion and files/directories with spaces #2006

Open
predmijat opened this issue Jun 23, 2022 · 1 comment
Open

rsync, TAB completion and files/directories with spaces #2006

predmijat opened this issue Jun 23, 2022 · 1 comment
Labels

Comments

@predmijat
Copy link

predmijat commented Jun 23, 2022

Description

rsync TAB completion adds 3 backslashes (\\\) for files/directories with spaces, which results in "No such file or directory (2)". Replacing \\\ with \ manually syncs the directory without a problem.
This used to work before with 3 backslashes and I can't figure out what broke it.

Expected behavior

rsync TAB completion works without manual intervention.

Steps to Reproduce

  1. rsync -avz user@remote_server:/some/path/with<TAB>
  2. rsync -avz user@remote_server:/some/path/with\\\ spaces\\\ in\\\ its\\\ name . <RETURN>
  3. Error

Versions

  • Prezto commit: 1875ddb
  • ZSH version: zsh 5.9 (arm-apple-darwin21.3.0)
  • OS information: macOS 12.4
@predmijat
Copy link
Author

This still happens even on fresh install...I'm guessing that this works for others then? Why doesn't it work for me?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants