From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6120 invoked by alias); 20 Aug 2012 09:53:42 -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: 17208 Received: (qmail 12663 invoked from network); 20 Aug 2012 09:53:31 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.3.2 Received-SPF: none (ns1.primenet.com.au: domain at necoro.eu does not designate permitted sender hosts) Message-ID: <503206C8.5050408@necoro.eu> Date: Mon, 20 Aug 2012 11:43:36 +0200 From: =?ISO-8859-1?Q?Ren=E9_Neumann?= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120730 Thunderbird/14.0 MIME-Version: 1.0 To: zsh-users@zsh.org Subject: Re: Recursive Completition References: <120818171826.ZM18675@torch.brasslantern.com> In-Reply-To: <120818171826.ZM18675@torch.brasslantern.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Am 19.08.2012 02:18, schrieb Bart Schaefer: > Fortunately there's a way to move this out of the realm of expansion > and into that of completion; to whit, simply assert that you want > completion to act as if it were using glob patterns: > > setopt globcomplete > > Now when you try > > ls **/Kern[tab] > > the completion system behaves as if you'd inserted a * just before [tab], > and offers you the list of matching items as choices. Really? I tried this, and noticed you still have to enter the * before the [tab]. The difference to noglobcomplete seems to be that now you can actually choose a file via completion, whereas before it just pushed everything onto the commandline. - René