From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24030 invoked by alias); 9 Mar 2011 23:56:26 -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: 15856 Received: (qmail 13385 invoked from network); 9 Mar 2011 23:56:24 -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,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.google.com designates 209.85.220.171 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=SwSz2aCgEakikyvnz+ImU8j0mg6V4sdUqFMng9kY0eg=; b=JudD5CvUcrxmzTlJ253Cia5zqsYHQX8VtSZg2/OnS68MY+R7Ku5hrVtLdalYDyLUl3 3t4LFiEOng6H08oh+b3/y1Vzqr8+zup6QzAxfEl7BUP+/SyNMjysG22TlVRuDbAo8rhW TaC8dsZ4hA87bfYebuX26i6r88MOr0pvUdFks= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=i8h7bGM8SAKLaDIE8f71yalMMPXeHq/s57628gVYakRgHlxVeYeR/irR/AEM1ZsGDj uwlWaUiLzaaNRuBLYqEzJAcua8xlFPPwodaFoHS7rKqW/vdXPSl6/9PqhxCkGWrKeHDh 063TiD/sQVjRuA3V2lHUluA60WQx93PA5YgQk= MIME-Version: 1.0 In-Reply-To: References: Date: Thu, 10 Mar 2011 00:56:18 +0100 Message-ID: Subject: Re: globbing index* From: Mikael Magnusson To: Wayne Davison Cc: zzapper , zsh-users@zsh.org Content-Type: text/plain; charset=UTF-8 On 10 March 2011 00:29, Wayne Davison wrote: > On Mon, Mar 7, 2011 at 2:12 PM, zzapper wrote: > >> so when I type >> > diff index* >> I can assume that I will get, (but it will always be as clear) >> > > I have Ctrl-D bound to delete-char-or-list, so I just type Ctrl-D after some > glob* item to see what it will expand to (without changing the > command-line). The only bad thing is if I'm not at the end of the command > line it obviously will delete a character instead. Using tab-expansion > followed by undo (Ctrl-underscore) is useful when I'm in the middle of the > command. Note though ctrl-d won't show what a glob expands to, for that you want list-expand, not list-choices (which does what ctrl-d does regardless of where on the line you are). For example if you have *t and press ctrl-d, you will see things that don't end with a t (because completing with glob_complete set will always insert a * at the cursor), while list-expand will only show exactly what it matches, and also works independently of glob_complete. -- Mikael Magnusson