Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Get the result of the last glob
- X-seq: zsh-users 24172
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: Re: Get the result of the last glob
- Date: Wed, 21 Aug 2019 08:43:55 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=Kh0kJmb6GVgYDGtDkA9EIB1QkjQVD3daClOyfnPv8NI=; b=GuXde9pANPN/ksxgvb7Wg+p7qiuMWF4izpkPdZUqx+EyE7CmkmAgs5gAQeGw6aWoB3 SeOeTOkdnD5V+0iAbXnJD7YEuLLqBkT9OmHXzS0f7ytBMxrHSKDBopWevnLgniw7a1g6 iahcHepoyDioTi+Lp3GAghQtbytRBf+vGkjJtM+KOrq13BaIJCKfMKchssnJpYCVRHHh XnlZ01iUNufb3N6UgcZV2TWp79TQZonTGYps7eBbxGL7TLIXmQE9qN1Fndav12hcDtCV qWOwaIeWAh4VWFrwhqvXpnImhn9HfpRU/NATKMRXJf6Ji10fCMQgKPGZZx/TWQnAITWJ lTKA==
- In-reply-to: <20190821151752.ftwx7demdwsnxjtu@chaz.gmail.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-unsubscribe: <mailto:zsh-users-unsubscribe@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <918ED85F-9DE5-4365-B962-45AD4AADDF46__5329.09398186661$1566393766$gmane$org@icloud.com> <20190821151752.ftwx7demdwsnxjtu@chaz.gmail.com>
On Wed, Aug 21, 2019 at 8:18 AM Stephane Chazelas
<stephane.chazelas@xxxxxxxxx> wrote:
>
> 2019-08-21 17:51:11 +0430, Aryn Starr:
> > Is there a way to get the result of the last glob?
In addition to zmv, you might also look at Functions/Zle/keeper in the
distribution. It's set up to work with some ZLE key bindings, but it
also can be used standalone.
% source $^fpath/keeper(N[1])
% keep *
% for k in $kept; ebook-convert $k $k.epub
Or
% find . -name \*.mobi | keep
etc.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author