zsh-users
 help / color / mirror / code / Atom feed
From: fREW <frioux@gmail.com>
To: "Zsh users list" <zsh-users@sunsite.dk>
Subject: Re: turn off globbing sometimes
Date: Tue, 26 Jun 2007 10:36:22 -0600	[thread overview]
Message-ID: <fb3648c60706260936v280aed7fpf1099dde571517df@mail.gmail.com> (raw)
In-Reply-To: <2d460de70706260927p45718db7gb0089fc2a26e3e7a@mail.gmail.com>

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@gmail.com> 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


  parent reply	other threads:[~2007-06-26 16:36 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-06-25 14:34 fREW
2007-06-25 14:38 ` Clint Adams
2007-06-25 14:49   ` fREW
     [not found]     ` <2d460de70706260927p45718db7gb0089fc2a26e3e7a@mail.gmail.com>
2007-06-26 16:36       ` fREW [this message]
2007-06-26 23:56         ` Phil Pennock
2007-06-27  9:27           ` Peter Stephenson
2007-06-27 14:06             ` Wayne Davison

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=fb3648c60706260936v280aed7fpf1099dde571517df@mail.gmail.com \
    --to=frioux@gmail.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).