Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: turn off globbing sometimes
- X-seq: zsh-users 11594
- From: fREW <frioux@xxxxxxxxx>
- To: "Zsh users list" <zsh-users@xxxxxxxxxx>
- Subject: Re: turn off globbing sometimes
- Date: Tue, 26 Jun 2007 10:36:22 -0600
- Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=sL/TSfvvMOHXwHWHSg2oS6RqbzQ+RR7b+LmF96lHJsGU9gYWtJ/hExkol7E7XNkDwX5HHVOyc0Ewk70s3s2kWM/0Ueka6GMjGEQ6sr0hCmZGm6FL9sLQ4QeY+F8UYfRUucKWh3n8oTjHOJPyT5GfZYbfdND1XYqgbXgVrQKkll4=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=mGoxoTJZ8ixUShKFKIWS0Of13p/zE8mPwUNfm558qkyhDEVBH9e0W/FpLJdy4swqRprpD8dSxq/FZh6ChIe8Z8l8rFO4ot4F9fozWbSqTxPN1lajs6IFMulHKdnp+T5lZWznfPUBPo3DOg7qYbIuvXkrzO3SwY2RYaqyto487X8=
- In-reply-to: <2d460de70706260927p45718db7gb0089fc2a26e3e7a@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <fb3648c60706250734r7402b1bewb43015d19e9c56fe@xxxxxxxxxxxxxx> <20070625143801.GB27030@xxxxxxxxxxx> <fb3648c60706250749o33012e3bse93886f6754e8dd1@xxxxxxxxxxxxxx> <2d460de70706260927p45718db7gb0089fc2a26e3e7a@xxxxxxxxxxxxxx>
What you could do is have two commands, one being an alias to
noglob scp
and the other being vanilla scp
So like:
alias pcp='noglob scp'
pcp remote:foo/* .
scp * remote:foo/
Just a thought.
On 6/26/07, Richard Hartmann <richih.mailinglist@xxxxxxxxx> wrote:
> alias command="noglob command"
How could I turn globbing off for the _remote_ part of scp?
I.e.
scp remote:foo/* .
should not expand, while
scp * remote:foo/
should expand normally. Any ideas?
Richard
--
-fREW
Messages sorted by:
Reverse Date,
Date,
Thread,
Author