From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 5534 invoked from network); 21 Jan 2005 14:58:45 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 21 Jan 2005 14:58:45 -0000 Received: (qmail 99889 invoked from network); 21 Jan 2005 14:58:37 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 21 Jan 2005 14:58:37 -0000 Received: (qmail 9591 invoked by alias); 21 Jan 2005 14:58:22 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 8408 Received: (qmail 9576 invoked from network); 21 Jan 2005 14:58:21 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 21 Jan 2005 14:58:21 -0000 Received: (qmail 98765 invoked from network); 21 Jan 2005 14:58:21 -0000 Received: from ms-smtp-05.texas.rr.com (HELO ms-smtp-05-eri0.texas.rr.com) (24.93.47.44) by a.mx.sunsite.dk with SMTP; 21 Jan 2005 14:58:19 -0000 Received: from amdxp.kalama.no-ip.org (cs666888-186.austin.rr.com [66.68.88.186]) by ms-smtp-05-eri0.texas.rr.com (8.12.10/8.12.7) with ESMTP id j0LEwAPa015751; Fri, 21 Jan 2005 08:58:11 -0600 (CST) Received: from [10.0.1.100] (cs666888-186.austin.rr.com [66.68.88.186]) by amdxp.kalama.no-ip.org (Postfix) with ESMTP id A66BC1EA; Fri, 21 Jan 2005 08:58:10 -0600 (CST) In-Reply-To: <20050121121305.GE19548@vandal.simcon-mt.de> References: <20050121092926.GD19548@vandal.simcon-mt.de> <200501211046.j0LAkWuO007499@news01.csr.com> <20050121121305.GE19548@vandal.simcon-mt.de> Mime-Version: 1.0 (Apple Message framework v619) Content-Type: text/plain; charset=US-ASCII; format=flowed Message-Id: Content-Transfer-Encoding: 7bit Cc: "Andrei A.Voropaev" Reply-To: zsh-users@sunsite.dk From: lists Subject: Re: completing file names Date: Fri, 21 Jan 2005 08:58:07 -0600 To: zsh-users@sunsite.dk X-Mailer: Apple Mail (2.619) X-Virus-Scanned: Symantec AntiVirus Scan Engine X-Spam-Checker-Version: SpamAssassin 3.0.2 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, score=-2.5 required=6.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.2 X-Spam-Hits: -2.5 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