From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 823 invoked by alias); 5 Sep 2017 21:18:08 -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: 22868 Received: (qmail 4482 invoked by uid 1010); 5 Sep 2017 21:18:08 -0000 X-Qmail-Scanner-Diagnostics: from 195.159.176.226 by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(195.159.176.226):SA:0(-1.1/5.0):. Processed in 0.846585 secs); 05 Sep 2017 21:18:08 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS,RDNS_NONE autolearn=no autolearn_force=no version=3.4.1 X-Envelope-From: gcszu-zsh-users@m.gmane.org X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | X-Injected-Via-Gmane: http://gmane.org/ To: zsh-users@zsh.org From: Yuri D'Elia Subject: Re: "Edit" files names Date: Tue, 05 Sep 2017 23:17:13 +0200 Message-ID: <87lglsu9pi.fsf@wavexx.thregr.org> References: <87pob5ni6e.fsf@wavexx.thregr.org> Mime-Version: 1.0 Content-Type: text/plain X-Complaints-To: usenet@blaine.gmane.org User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) Cancel-Lock: sha1:bhtXHktpwJn7Q3pe7CtIsHGGTPU= On Tue, Sep 05 2017, Mikael Magnusson wrote: >> It's not hard to implement, but does anybody know of a tool which >> already does that (or something very similar)? > > Have you tried the edit-command-line widget? How would you use it efficiently in the above scenario? The only way I can think of, is by pre-composing $ mv *exp* *exp* thus expand the filename twice, then edit the command (which would then be escaped in the current style). Inefficient.