From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21361 invoked by alias); 29 Jul 2011 23:17:56 -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: 16162 Received: (qmail 27625 invoked from network); 29 Jul 2011 23:17:55 -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.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW, T_TO_NO_BRKTS_FREEMAIL autolearn=ham version=3.3.1 Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf.google.com designates 74.125.83.43 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:from:date:message-id:subject:to:content-type; bh=h7faiYeDguZ7WZ//zcrwi2VXq9WGqDo9yxcszDDsr6w=; b=BWhR2m1SE4TT1jNmiHc7pnyndMg3I2Hd509NasDpuhm+A/DPf7F+MsJRead8SSLrUa HH6k/LjxaPDDb9CWQBPslVkLQ52BwzG9liTobcjB5Amsx+sw7ESI0t7OxUZiyjM0Utph iLUB92HN6coYwXXrzGPzyiSG1/YDYh0UEKAxg= MIME-Version: 1.0 From: Richard Hartmann Date: Sat, 30 Jul 2011 00:41:01 +0200 Message-ID: Subject: Safety check before expanding globs? To: zsh-users@zsh.org Content-Type: text/plain; charset=UTF-8 Hi all, I regularly use quux /foo/bar/* to expand all files, do some modifications and then hit enter. Is there any way to have zsh ask for confirmation (or require two tabs) before expanding said list? Alternatively, is there a way to undo the expansion? Thanks, Richard