From: lists <lists@kalama.no-ip.org>
To: zsh-users@sunsite.dk
Cc: "Andrei A.Voropaev" <av@simcon-mt.com>
Subject: Re: completing file names
Date: Fri, 21 Jan 2005 08:58:07 -0600 [thread overview]
Message-ID: <DC67807C-6BBC-11D9-95EC-000A95D2C79E@kalama.no-ip.org> (raw)
In-Reply-To: <20050121121305.GE19548@vandal.simcon-mt.de>
On Jan 21, 2005, at 6:13 AM, Andrei A. Voropaev wrote:
> I've noticed that now
> when I say 'scp host:/path/files/* .' zsh complains that there were no
> matches found. To work around this I had to put quotes around the
> host:/path/files/*.
Thanks to Bart for this one. From my .zshrc file:
### SSH filename globbing:
if [[ $ZSH_VERSION > 4.2 ]]; then
autoload -U url-quote-magic
zle -N self-insert url-quote-magic
zstyle -e :urlglobber url-other-schema '[[ $words[1] == scp ]] &&
reply=("*") || reply=(http https ftp)'
fi
###
With the above magic, the * is automatically escaped as I type it. I
hope this is what you were looking for.
-Ryan
prev parent reply other threads:[~2005-01-21 14:58 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-21 9:29 Andrei A. Voropaev
2005-01-21 10:46 ` Peter Stephenson
2005-01-21 12:13 ` Andrei A. Voropaev
2005-01-21 14:58 ` lists [this message]
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=DC67807C-6BBC-11D9-95EC-000A95D2C79E@kalama.no-ip.org \
--to=lists@kalama.no-ip.org \
--cc=av@simcon-mt.com \
--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).