zsh-users
 help / color / mirror / code / Atom feed
From: John <da_audiophile@yahoo.com>
To: "Jérémie Roquet" <arkanosis@gmail.com>
Cc: "zsh-users@zsh.org" <zsh-users@zsh.org>
Subject: Re: problem with zsh and wildcards in scp commands
Date: Sun, 17 Mar 2013 09:24:26 -0700 (PDT)	[thread overview]
Message-ID: <1363537466.3050.YahooMailNeo@web140002.mail.bf1.yahoo.com> (raw)
In-Reply-To: <CAFOazANoB4ere8c3X6UHM_1TzdBb9NM14DuJmeaFobO22zB0+w@mail.gmail.com>

Thank you.  Perhaps an alias ?

alias scp='noglob scp'


----- Original Message -----
> From: Jérémie Roquet <arkanosis@gmail.com>
> To: John <da_audiophile@yahoo.com>
> Cc: "zsh-users@zsh.org" <zsh-users@zsh.org>
> Sent: Sunday, March 17, 2013 12:20 PM
> Subject: Re: problem with zsh and wildcards in scp commands
> 
> Hi,
> 
> 2013/3/17 John <da_audiophile@yahoo.com>:
>>  Thank you. Can zsh be modified easily in a config file to behave as bash 
> with scp?
> 
> unsetopt nomatch
> 
> I wouldn't advice to use this, however, as it still wouldn't do what
> you expect it to do if the expansion is possible locally.
> 
> You should rather use something like “noglob scp facade@gogo:~/*.xz
> .”, which prevents local expansion.
> 
> Best regards,
> 
> -- 
> Jérémie
>


  reply	other threads:[~2013-03-17 16:29 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-17 16:03 John
2013-03-17 16:20 ` Jérémie Roquet
2013-03-17 16:24   ` John [this message]
2013-03-17 16:31     ` Jérémie Roquet
2013-03-17 16:55       ` Valodim Skywalker
  -- strict thread matches above, loose matches on Subject: below --
2013-03-17 19:21 John
2013-03-17 10:46 John
2013-03-17 12:33 ` Eike von Seggern
2013-03-18 13:47   ` Vincent Lefevre

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=1363537466.3050.YahooMailNeo@web140002.mail.bf1.yahoo.com \
    --to=da_audiophile@yahoo.com \
    --cc=arkanosis@gmail.com \
    --cc=zsh-users@zsh.org \
    /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).