From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 13053 invoked by alias); 30 Jul 2011 13:00:06 -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: 16166 Received: (qmail 22206 invoked from network); 30 Jul 2011 13:00:04 -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=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE, SPF_HELO_PASS autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at bewatermyfriend.org does not designate permitted sender hosts) From: Frank Terbeck To: zsh-users@zsh.org Subject: Re: Safety check before expanding globs? In-Reply-To: (Mikael Magnusson's message of "Sat, 30 Jul 2011 14:28:13 +0200") References: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) Date: Sat, 30 Jul 2011 14:42:30 +0200 Message-ID: <87bowc6itl.fsf@ft.bewatermyfriend.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Df-Sender: 430444 Mikael Magnusson wrote: > On 30 July 2011 00:41, Richard Hartmann wrote: [...] >> quux /foo/bar/* [...] > You might like the list-expand binding. Contrary to the name it > doesn't expand anything, it just lists the result of a glob below the > prompt. The `_expand' completer is quite useful too. See "man zshcompsys" on that function for details. Regards, Frank