From: Hannu Koivisto <azure@iki.fi>
To: Zsh Users' List <zsh-users@sunsite.dk>
Subject: Remote scp completion that can handle spaces etc. in pathnames
Date: Thu, 13 Feb 2003 15:30:04 +0200 [thread overview]
Message-ID: <87d6lwqper.fsf@lynx.ionific.com> (raw)
Greetings,
Let's say that there is a directory "foo bar" on host baz. If I
try to copy it recursively with scp from baz to the current host, I
have to say ``scp -r baz:foo\\\ bar .'' That is, I need to
"double quote". However, if I use zsh's completion to get me that
directory, i.e. I write ``scp -r baz:fo<tab>'', I get
``scp -r baz:foo\ bar/'', which does not work.
I use openssh 3.4p1 and zsh 4.0.4 on Debian GNU/Linux woody. Is
this handled differently in a later (stable or development) version
and/or would this be easy to fix locally?
I also note that pathnames in remote commands are not completed
remotely, i.e. if I write ``ssh somehost ls f<tab>'', zsh completes
local filesystem entries beginning with f. I wonder if this could
be smarter as well.
--
Hannu
Please don't send copies of list mail
next reply other threads:[~2003-02-13 13:30 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-13 13:30 Hannu Koivisto [this message]
2003-02-13 14:41 ` Oliver Kiddle
2003-02-13 15:06 ` Hannu Koivisto
2003-02-13 16:12 ` Oliver Kiddle
2003-02-17 9:18 ` Hannu Koivisto
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87d6lwqper.fsf@lynx.ionific.com \
--to=azure@iki.fi \
--cc=zsh-users@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).