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.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 27616 invoked from network); 14 Apr 2023 14:45:54 -0000 Received: from zero.zsh.org (94.142.241.90) by inbox.vuxu.org with ESMTPUTF8; 14 Apr 2023 14:45:54 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1681483554; b=GXdHSJg/eeC7PqD290J9L35nttRk//yrtSWjRt9K6jJJZLbml5z2XjqrSrZx7iC0hmlaFgYjIA UXlgsPB9kEb1v5TAlwVYq/O6Plm306d7Ctx1GTqweeKS1h7SHFz6AXZiLG4oQHJb6iuut4nFSp y/Ee+zyjjvu6TEOE/rWbrppoBnzNsRw3tK1mQccx3GTvKrlSoZYWly1zPfHuBdrjyb6cQXf54J ICgEGzUZGuLCQGIYl/b/jwJ+tSvByMQRZCpIMN5VRALQENBtPYuSkQD1Bkv3CPDmNFXnus2RkZ GXFhVZ6nVw5p/OW59Wv8e/DRG0lIvFGvESUexnQVGliEDA==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-yw1-f178.google.com) smtp.remote-ip=209.85.128.178; dkim=pass header.d=gmail.com header.s=20221208 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1681483554; bh=hztdyW9+Eb/+iyYXbeKzFXoUjic8F0m58DUGL2y3JEM=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:Cc:To:Subject: Message-ID:Date:From:In-Reply-To:References:MIME-Version:DKIM-Signature: DKIM-Signature; b=qxjVNmd0JfHsvQ0Zl7gPvWV+9QzWZfwnruV3dGYGK380uxhmvXAtUIj69ERLWlHZlLFiqKjQrV v7seOfah3lA87J/aeItQYloo1JBhwbedvNt7drpFpn3gTiiKcXmTgYbhQyaEN+PxfWgFXuSLXR ZzjpxypYxJi4QfhM+iIFmUXURnVesWulCrYSqJ8NGvCgUTkocPEPKJN0wxn1IKw3VStPJyQJVD Xk4PhUEqmS79oN55ejE8ltBckNTjfYXwJgNY51zptGiDbASWKsk1T+8VTedUse9vR3vP8Y+S5t /J1YoMxVGNbjZyPTAb6OEBrHlkjrBwTxgS+rnQXtr5Uv5w==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Transfer-Encoding: Content-Type:Cc:To:Subject:Message-ID:Date:From:In-Reply-To:References: MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=Ry7eHbiaB9wk7ozX3naARnaVQDuE3lvzojzt8Uz59MM=; b=ge7voR0+9130vgN6vBmGeuDEy/ G86BuIQ6LIX78ysr6/xzd5l54F49Us5zJnkk3NdjbGysoVJ+sT7nE4B0Ret4SwBGF1xyNgJCImWIC p1JpGAhDJRfSVgMwFb1So7wVyMElt9/S/ERmTkXiTkoOcKrT97vzMHTCoekK6bdbhmSVN8k/patsu NFRymfOQjEIVoC+h2R4YHMH588RiJ0WJHdl/hwL+VO7AhtYOxyBfxHk5h4JJLQMcg0z8G25a/7AxI wbkntrcFuHSvDPGhr9XCE6rPOZ4k1hgGKbmYwM5eZ74UlcAKMtEt6pKSnfU7iKk7uJty0hCd0C0Hc 1Jr+f5cg==; Received: by zero.zsh.org with local id 1pnKgU-000HBq-OC; Fri, 14 Apr 2023 14:45:54 +0000 Authentication-Results: zsh.org; iprev=pass (mail-yw1-f178.google.com) smtp.remote-ip=209.85.128.178; dkim=pass header.d=gmail.com header.s=20221208 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none Received: from mail-yw1-f178.google.com ([209.85.128.178]:33383) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1pnKXr-000Eor-NM; Fri, 14 Apr 2023 14:37:04 +0000 Received: by mail-yw1-f178.google.com with SMTP id 00721157ae682-54ee0b73e08so350668237b3.0 for ; Fri, 14 Apr 2023 07:36:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1681483019; x=1684075019; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=Ry7eHbiaB9wk7ozX3naARnaVQDuE3lvzojzt8Uz59MM=; b=l7kfsw0vOK6AWm6M5nMhAQ3CZZ6ZypI+ZeiOE5uwgN40K+iFS8spA0RtrjeTEaHm+i 1fkQOplYNczueWbxmnFI5/yAbFTXV1Xmb4r6YCBqnDQa2kSQ55m+LnbPQFl4lQ7oJJdc eN1xlH/sEt5laNKvTh5mtOc/UOI6RcA0tVVirm1wkzql/ZR+dKtGQMyIt3m2vObxsgrN g0qZOHr8pLMo035U4w1vR57pGjAHXAabOxpXeeUJoqvkJDhAMllehLch0oK2pXk0bqNM bAZg29+W3GW0vZYIrwehaaF0ctWN9cZ2Zh33wyAXwaJoUW2NFLCa2JAjUWZGrIs+03ox Ox+A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1681483019; x=1684075019; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Ry7eHbiaB9wk7ozX3naARnaVQDuE3lvzojzt8Uz59MM=; b=D4fMcZA/C1psRyW6uPFU9EldzEbYc8MUnb6cVZLeqODsqD91J7YccT3Tellr57pEyG 2eLNRPYhFiQEh/MmQLbJ8Ax+z0a4DFXfWCCuH7kq4a1XWDlSsXBYWYRAPdkuih729KWU xu+RM7X5ufEl2gpS4KTiob873j82IXWKtskNdRPNdv+DrYigAoncfGXQtPf3FY5kxFKX 6Ira+Hoaduz92FoUo3bIBZ+aspGuUZ4Zq05fdtvWcBEBYruMQGu07D+Pya73UBduwj26 1BwBVutz3sAcE/V3g0latUBkb7+ZDuaZkqkBKAfkvj/3eKW3ZNYh/ave0UbVL+JxexDY F6iA== X-Gm-Message-State: AAQBX9e8hx6B7plE510Fg1uWXQ0TeXj7p7UuVIwvPG5xc2x5lty2umAa kA4cv3qZOHQzvS87IONqR3PKSreOFV+t8a6t6dg= X-Google-Smtp-Source: AKy350ZnQsi2sb58cPoTX4yQf5Oww1GGfMD4eMviSY5Ar3bh3WoiYx81mC3QK8ZrenEciaQkbsWeCMwey9ONNzTjL6E= X-Received: by 2002:a81:af0c:0:b0:54f:bb71:c7b3 with SMTP id n12-20020a81af0c000000b0054fbb71c7b3mr3708402ywh.9.1681483018829; Fri, 14 Apr 2023 07:36:58 -0700 (PDT) MIME-Version: 1.0 References: <81609CF4-42DA-4E0F-A6E5-C5D58578B4F7@easesoftware.com> In-Reply-To: From: Felipe Contreras Date: Fri, 14 Apr 2023 09:36:47 -0500 Message-ID: Subject: Re: .zsh_history To: Ray Andrews Cc: zsh-users@zsh.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Seq: 29018 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: On Sat, Apr 8, 2023 at 12:54=E2=80=AFPM Ray Andrews wrote: > > > On 2023-04-08 10:27, Roman Perepelitsa wrote: > > > > Perry's options (which I've quoted in my original reply) require him > > to exit zsh before history is written. > > I do remember that one's control of history is essentially perfect, you > can get just about anything you want. History is one of those features > of zsh that is tractable and understandable without too much head > scratching and without any weird gotchas. I couldn't disagree more. Even zsh experts don't understand what HISTSIZE and SAVEHIST are for. Nevermind their interactions with APPEND_HISTORY. Maybe the other options are more understandable, but certainly not the basic ones. Or you tell me, do you think everyone understands what this does? HISTSIZE=3D100 SAVEHIST=3D200 --=20 Felipe Contreras