From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.3 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 24669 invoked from network); 20 Jun 2021 18:39:27 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 20 Jun 2021 18:39:27 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1624214367; b=ytxe882F4KmlQVEpPuxcVZHvbmB5JJ80MOaSRgeyjCKZhZeA4H5wy5PcTfy0o/cwz+IDomJ46T TXA+HtpD5wrg1Nd3asaLaKQSGxyn/Yh7Fi4LCREtIEZvt6+8Rxs9iiFyk9Op89jqx0xoJ/E2zA etppRgzDrf2VzKvKGBn39bycouXCeisrSeapw1FHKPMtihfIndwDiLdJzzAcVHs8o3IFwmaMhB FftwF1lNyZ6gxFxDPfl/JqSDYUZWEZCffL8pA8KIrg3vTBkU8WXX6H7vVOD/WaSMu4IdpF7IOP ZDQKswY6ZqBSdNVMmgGJ8sMeVY43qzwD8QQvH+J/MPVpGw==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail.covisp.net) smtp.remote-ip=65.121.55.42; dmarc=none header.from=covisp.net; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20200801; t=1624214367; bh=0mPjgnZtlqcgwpyVU1GVflZElYE+R0x/143MsQoEjqI=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:To:Date:Message-ID:Subject:Content-Transfer-Encoding: Content-Type:From:DKIM-Signature; b=Kw3LtdIogAfvVYpuA6SqHmCsP4+HPzIA0fmzkJjhvY4TClnH3+cpzZXCnwrNlQcv6ST6iE4tO2 DZ8xReairzDilhmSHkRnnZYvtvRRWqBEIn93aksZDYR69hKQaUb9bIXKpMd3ndpb/JFOs0QWSf pcFTZHLWFXXP+B8fXjKAyL6TTPnIlDxxnBf2AMLV64tI4zQXmkSaHu8Qiq2tbjMqrdOVQFiKlp 9SRURTPMGGw/RuzfpQ6762jeYStqnOjqDwr3h/w5mhGVV/T8ADAe2qseG1vDSJyzK2xROPgAv1 38GWQ8xQoK12FmRWsanXrDRLRBmc2hkH3qdANUzJw/zpHQ==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20200801; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:To:Date:Message-Id:Subject: Content-Transfer-Encoding:Content-Type:From:Reply-To:Cc:MIME-Version: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References; bh=0mPjgnZtlqcgwpyVU1GVflZElYE+R0x/143MsQoEjqI=; b=bOKnSJwpWFB/QSnulqDbhMEIwF bnfr8akfVqqYFll7dzYj37YQ1yVm6r5aiDRFxPzmV4N/lbY6tn/KqthV09VGqsgm+wRBprvHOUM9O CQQOeYZ6cMKpN3RWvogJbdY15QG1UQHX3IjEKa5e/m7FN0bpMFU/DjXtOSLAqd896anTgCleGrFbd 7rUe8e4uq/oaKVlUw5gw2kHOUVR4nkpsvVJX+6XdcO80eOgXavUEutsFrhJg4trYQqdjN/BthsDLE I5fgzw0fYtByRBgE2Qh1ie5vNMfT8ICJ/ECy1XQE0IcQCnRN9PfE845oG72YwSuIQvFPxC4q71G6L SfXu+Sbw==; Received: from authenticated user by zero.zsh.org with local id 1lv2Lv-000OQo-3L; Sun, 20 Jun 2021 18:39:27 +0000 Authentication-Results: zsh.org; iprev=pass (mail.covisp.net) smtp.remote-ip=65.121.55.42; dmarc=none header.from=covisp.net; arc=none Received: from mail.covisp.net ([65.121.55.42]:65521) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1lv2Ks-000NgK-UT; Sun, 20 Jun 2021 18:38:23 +0000 From: Lewis Butler Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Zsh history search Message-Id: <29EBD87B-2AE7-4585-9686-B41C27183417@covisp.net> Date: Sun, 20 Jun 2021 12:38:19 -0600 To: Zsh Users X-Mailer: Apple Mail (2.3677.0.3.1.132) X-Seq: 26780 Archived-At: X-Loop: zsh-users@zsh.org Errors-To: zsh-users-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-users-request@zsh.org X-no-archive: yes List-Id: List-Help: List-Subscribe: List-Unsubscribe: List-Post: List-Owner: List-Archive: Is there a way in zsh to search the history for two terms, or to do a = search for tear one and then search within those results for term 2? For example, I use ffmpeg a lot, and sometimes I use it within a for = loop, so I wold like to be able to search for=20 "for" And then within all the history that shows up for all the many for = commands, search for those that also contain ffmpeg. Searching 'for' and = then parroting takes many many keypresses sometimes. If it matters, and I expect it does, I have 'history' in plugins in my = zshrc --=20 =C9=B9=D7=9F=CA=87nq=D7=9F tel:+1.303.219.0564