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=-1.0 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 18882 invoked from network); 19 May 2020 23:18:52 -0000 Received: from ns1.primenet.com.au (HELO primenet.com.au) (203.24.36.2) by inbox.vuxu.org with ESMTPUTF8; 19 May 2020 23:18:52 -0000 Received: (qmail 4681 invoked by alias); 19 May 2020 23:18:47 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: List-Unsubscribe: X-Seq: 45855 Received: (qmail 29565 invoked by uid 1010); 19 May 2020 23:18:47 -0000 X-Qmail-Scanner-Diagnostics: from mail-ot1-f45.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.102.3/25814. spamassassin: 3.4.4. Clear:RC:0(209.85.210.45):SA:0(-1.9/5.0):. Processed in 4.11009 secs); 19 May 2020 23:18:47 -0000 X-Envelope-From: schaefer@brasslantern.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.210.45 as permitted sender) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=TMXgFOCTwdAQN82jvRkAZGA5m8HtTgdgBbJZfOHPrQo=; b=bROaMZn1omQaJ6ID6C5rbmYWk+RaPO8ZOqckZ4VwulC2Qij6DLQNXpeVl4gQTZUBK7 Z2ZSTchEa+0iJTNdkC0PM5fh7Vjs8hVngDDv56Wdb76uFdvT2VWXCbbeSKfvrYGhRpsP o/OSoaeLw1SHFKxprMfaO99/MeQqi8jSbkwRR7UffFAEZvmhDis61aZGvAOgwOOLkS7Q V0mLdPGotdQ3+TEPHW83KdLjBj9318InRTZ18LopCI2Z5eFXJqdlO22Lh+v0NVZJFrCV gUm5auFF0yFjAqxl8N1SuY2qis/DCQVIh27gDc9+4L+8f6VKUonP8k/rQxoVfBDMNc9H tX5Q== X-Gm-Message-State: AOAM533i5GRap7WTD6DUrHinUZLeKE+CEXZqkHdGRGOES18V/braqidK 1Yo4LBSqi060ZBtz4vv/Z2R00nWsz4tdW7KGNskbxiLCLl4= X-Google-Smtp-Source: ABdhPJwJ9n5VRV18F7XmoNO0He7PKFPQ3Fa/6YV/N7DNcDZAcdRdEqicbCvkDrf1nx4cYZ5m/zFJvomJ9HC9N6QVlf8= X-Received: by 2002:a9d:20e7:: with SMTP id x94mr1265934ota.260.1589930289201; Tue, 19 May 2020 16:18:09 -0700 (PDT) MIME-Version: 1.0 References: <48e95c73-3a98-a4c2-7e0c-badf8544b4f2@gmx.net> <670c0cf4-cf73-22d8-1ac9-dfb392521b99@gmx.net> <20200519230341.61e4d2a3@tarpaulin.shahaf.local2> In-Reply-To: <20200519230341.61e4d2a3@tarpaulin.shahaf.local2> From: Bart Schaefer Date: Tue, 19 May 2020 16:17:58 -0700 Message-ID: Subject: Re: Feature Request: fc -C to clear history and reset counter To: "zsh-workers@zsh.org" Content-Type: text/plain; charset="UTF-8" On Tue, May 19, 2020 at 4:04 PM Daniel Shahaf wrote: > > There are plugins out there that provide per-directory history for zsh. I had meant to mention that, too, but got distracted by searching for the "unmeta.c" program ... > I thought we might be able to present the history as a magic variable > (like $aliases). Yeah, that turns out to be REALLY messy, which is why $history is a read-only hash table indexed on event number. > Also, we should probably make vared emit array elements one per line, > shouldn't we? Hrrrm, I think I'd rather that were an option rather than the default.