Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: noglob + find
- X-seq: zsh-users 15445
- From: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- To: "Benjamin R. Haskell" <zsh@xxxxxxxxxx>
- Subject: Re: noglob + find
- Date: Tue, 12 Oct 2010 21:43:05 +0200
- Cc: Zsh Users <zsh-users@xxxxxxx>
- 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=
- 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= ;
- In-reply-to: <alpine.LNX.2.01.1010121504210.21068@hp>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <alpine.LNX.2.01.1010121504210.21068@hp>
"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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author