From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11997 invoked by alias); 12 Oct 2010 19:49:35 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 15445 Received: (qmail 10237 invoked from network); 12 Oct 2010 19:49:33 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,UNPARSEABLE_RELAY autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at yahoo.co.uk does not designate permitted sender hosts) X-Yahoo-Newman-Id: 651693.29415.bm@omp1012.mail.ukl.yahoo.com DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.co.uk; h=DKIM-Signature:Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Received:Received:Received:cc:In-reply-to:From:References:To:Subject:Date:Message-ID; b=g7PD58jNROK2ttBk447ohPjG+6PGobhaRamMOIiRcFy/IOnvB1eAeptV4YRAW+zHFPJMnT0F/3oSKaM2kXb4i3sTyZ93cJ/9HncUPxLRRt0lkp8szVZjFtFGJr4zLgDz3Z0dTkjwDwc6HAkqaIzPQBW5+ta/1m71mdCyG5UITjw= ; DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.uk; s=s1024; t=1286912592; bh=txJS11VCH34VK9XCh0ib4PI3V+Ej/ONWBrjp1YWXlxI=; h=Received:X-Yahoo-SMTP:X-YMail-OSG:X-Yahoo-Newman-Property:Received:Received:Received:cc:In-reply-to:From:References:To:Subject:Date:Message-ID; b=AuUtXYaey10fAJ9ac4PNU+HofckUFXhMZB9Iubv7hgoguSacf1kWrXw7LyXW+LFbrwESHpBUbAkMzabY1QlQL1xOyPhtCIWuxsQV/e8+W6o3y7iKwxCKYF+mzyGRgNGCyl21GazAarBPkCXMYj3k0vHR/DGG4uNe5xQgoJNO5BU= X-Yahoo-SMTP: opAkk_CswBAce_kJ3nIPlH80cJI- X-YMail-OSG: _YiXOtcVM1mWyVfmTd2yhv4ah2daiLWGLQyhEuA3t9.gYTY oDbItXs92xrbo67P6WHVbydl6xgIN6M80TIBziTMZc9tM0TcfL9CjsSssAql MrW1c576MqfwZs7zIKYaHejYwC6x.blmOv11JGXcw37FxnoYrC_I4JzSj20x Sb__k1S9tdaBqi5b99s.Q9Xt2xwnazH6O9iD8DxtLfgYi5KY7ysZeJrs473_ wBfCE5F7KSXTL2uyERTFkCIo7x5A- X-Yahoo-Newman-Property: ymail-3 cc: Zsh Users In-reply-to: From: Oliver Kiddle References: To: "Benjamin R. Haskell" Subject: Re: noglob + find Date: Tue, 12 Oct 2010 21:43:05 +0200 Message-ID: <15291.1286912585@quattro> "Benjamin R. Haskell" wrote: > alias find='noglob find' > > $ find /tmp/tmp.* -name *.c -mtime -1 > find `/tmp/tmp.*': No such file or directory > > Is there a nice way to specify 'noglob'-like behavior for the arguments > after the first dashed argument? So that I can specify glob patterns as > the directories, but not have to quote the 'find' patterns? No. What I do is use the expand-word widget to expand the first glob. So with the cursor positioned after the first *, I press Ctrl-X,* and it gets expanded on the command-line. Oliver