From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: from zero.zsh.org (zero.zsh.org [IPv6:2a02:898:31:0:48:4558:7a:7368]) by inbox.vuxu.org (Postfix) with ESMTP id 6B57222811 for ; Wed, 14 Feb 2024 18:09:21 +0100 (CET) ARC-Seal: i=2; cv=pass; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1707930561; b=JWmaOu332SdShsAY8R5o3kCVXEw+EXKQZJWrKc64NK+GNYrM5YZvJVwBtLLoiqcq7N9uQ2YLp6 6orYvWJi3dnFwTH/M8eijyhOLkD3C7lB7tR/mZCifUvUKqzSy/kPiSFtffxaVe5EUkSvWXQuIA YIHrUWzOGDXWJpuuPjSv8tVP76qGD75iyGy5zIPzVNhVv1KyRvKDczfVCLF0+p8XoWFFUuNCRZ KLmZKngFoQUgofl/cM0ONoQTTFFMK8eIhtijImCIXe6+84+c/vwHv9VcwFVtIMyApy2/hJUqHi FSrObFT/VI5zJ/VpZSziJGqrVlYpoLU5SlbEjpOPP4gqvg==; ARC-Authentication-Results: i=2; zsh.org; iprev=pass (eastern.birch.relay.mailchannels.net) smtp.remote-ip=23.83.209.55; dkim=pass header.d=easesoftware.com header.s=default header.a=rsa-sha256; dmarc=none header.from=easesoftware.com; arc=pass (i=1) header.s=arc-2022 arc.oldest-pass=1 smtp.remote-ip=23.83.209.55 ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1707930561; bh=coxxiKGq63mf0ohuSVUSCLFERzRuw+d/NVPLBlD38b4=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:To:Date:Message-ID:Subject:MIME-Version:Content-Type:From: DKIM-Signature:DKIM-Signature; b=sK+penitjU0D+oSJf4Md2FrXap7vfr46H27x4Sv9cwY/WkN2DH5BgR7xbXYlFr0ZQ/Nj9FxJnd PxFYi198W0NuZBu3d/yOaChSscKAHP3INowKYOEI2IReOSFgoL1dV6qGAXR3lIwuniEXVs73C6 1TL63ybu5lruuJyz55A83mSxvJrex4nKl+078EMGbT0gT9RcvU/HNYeaZu+BbZx6MpI81j6ORk WFppjyIcGoso/3sB36gUtFqgsJFW3gK80nYF9Vhn9iZOCAQ73QJ5+31A7TT8Bj8lT6GHO3IUMN HfHcvyxjuOg9h8c1prFlV1LmwtYmOj9mjtDxkCoNLinZ2w==; 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:To:Date:Message-Id:Subject: Mime-Version:Content-Type:From:Reply-To:Cc:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:In-Reply-To:References; bh=IQlRRZVxmA/MOviZe1BPgPNbZZH3YYCn3tzBYALXixM=; b=UXtsdnY4ASf/7kn+vB+X1s4YYt KWmmFztKbgqegmqfgn0sEBR2OkqhXcSeoFVHT89dyrJwPdu2lwFe/PlNmYapvqrKEqqOJkTzBBynF ThctoT+HBqDj9fIROiDuGzgYHeZ/1gOu+aI2026UW4SYM0cmp1DK5aSnywVH3g2pexi61cJZeMCe5 QH4uCw/FYV/jRz4H5uA72ohyMfE3arYsdCMqe7qAwAX5OcAy1fJ520xV+riDjqL+4FtKG+B3KEyb2 uSUU/Jk/O7kROtdTC2T6QOqrzHZX2GEKTf+bapRTxXY26iFlJGGR4PLnBl/WkcumYZBadlj0jf6uJ ToVM98cg==; Received: by zero.zsh.org with local id 1raIl6-0005OC-V0; Wed, 14 Feb 2024 17:09:21 +0000 Authentication-Results: zsh.org; iprev=pass (eastern.birch.relay.mailchannels.net) smtp.remote-ip=23.83.209.55; dkim=pass header.d=easesoftware.com header.s=default header.a=rsa-sha256; dmarc=none header.from=easesoftware.com; arc=pass (i=1) header.s=arc-2022 arc.oldest-pass=1 smtp.remote-ip=23.83.209.55 Received: from eastern.birch.relay.mailchannels.net ([23.83.209.55]:32080) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES256-GCM-SHA384:256) id 1raIkO-0004hq-Fc; Wed, 14 Feb 2024 17:08:37 +0000 X-Sender-Id: a2hosting|x-authuser|pedz+easesoftware.com@mi3-ss4.a2hosting.com Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 3C5A87A49D0 for ; Wed, 14 Feb 2024 17:08:32 +0000 (UTC) Received: from mi3-ss4.a2hosting.com (unknown [127.0.0.6]) (Authenticated sender: a2hosting) by relay.mailchannels.net (Postfix) with ESMTPA id B13B97A488F for ; Wed, 14 Feb 2024 17:08:31 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1707930511; a=rsa-sha256; cv=none; b=cW64FvlWg3qbUOU3fepAq8GPkqyhwUG9l7dJFYlME2suRE5iZCjEsXsq0yDc2Vzgap13dD yfEXSg7pil81kXpNsizggEJoy9FzLUlJqaOpZuRZNgsMyGJgjO8lafH/r5553TCo5Whpxd Qvr7OJUGewh/IZm1JrTbUDw/jq4DtsoW2pR3KSyZtJzVPP8NlX1vokLf3blQ2EGuHTNQbc RONZoti2tPuVAqpmeUrO5fN6vN94va8WVBkRpfkWifE/EbhvWDbtVT/GX8grXYqqFnEiry wRvqwNDu4iGDsFbMRMMUvu76DtmZngnNqk7CYW/Wfpp/HooSzfbNCkyHa2Mtcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1707930511; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: dkim-signature; bh=IQlRRZVxmA/MOviZe1BPgPNbZZH3YYCn3tzBYALXixM=; b=VoQ5fFW8tCcIiDEcF4OM3Jof28nHofX3FRURPiQBqy9J9Ndaf3Qv3JXnghJgKuxxOOtFej uTA6o5pRmWLZx1Z2q90PIbxNRnMoe2ZgqHuiw8RF7bpix9V5L1NyQQnV2QBPb3vewDdPqe hvDZLH/XVGd67Mh+h9aKctxC+xps4xC6Jb3cstz2dzNjPfaIXaTIePG3c+ewycxeKeDDlw FZcwFdoezqG7bH1+lFWmZZ+62xti3/kdCSs/f02noJIdt6khWhCG8LkMmf2HuY9zjdZUJD wFMQ2D/qxQ0/UqjCjtQJhDtnIvLdLDUZn1iBgDHGGFbk8Fs43S7rwdBaVQQq1w== ARC-Authentication-Results: i=1; rspamd-55b4bfd7cb-q6zv8; auth=pass smtp.auth=a2hosting smtp.mailfrom=pedz@easesoftware.com X-Sender-Id: a2hosting|x-authuser|pedz+easesoftware.com@mi3-ss4.a2hosting.com X-MC-Relay: Neutral X-MailChannels-SenderId: a2hosting|x-authuser|pedz+easesoftware.com@mi3-ss4.a2hosting.com X-MailChannels-Auth-Id: a2hosting X-Hook-Continue: 48659aff302b5c95_1707930512068_3059643632 X-MC-Loop-Signature: 1707930512068:169796397 X-MC-Ingress-Time: 1707930512068 Received: from mi3-ss4.a2hosting.com (mi3-ss4.a2hosting.com [68.66.200.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384) by 100.100.244.10 (trex/6.9.2); Wed, 14 Feb 2024 17:08:32 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=easesoftware.com; s=default; h=To:Date:Message-Id:Subject:Mime-Version: Content-Type:From:Sender:Reply-To:Cc:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=IQlRRZVxmA/MOviZe1BPgPNbZZH3YYCn3tzBYALXixM=; b=Sbu520cxTxFxIjvwDIJ4n6wmIc B2jM434ikqJTDhP6GS2m0SNSz3A36wTfzc19DibI6dVEdPjBnszgypqAJCiredGxfUdepsrA9u8xF vOtQEkVCv6RH/2Jk0mQL2Yey50QRiQ5wMn+lo60zY55bBhATUpxXijyCrhdjILzpa2LwcB0t9ThQd KEUOJLZ7y9j7blfiQO9+7+nfKqfAlHnEZSAYRYNoNcb9aydy6dfwNWY8Qyjrel31DL6T7fgY8ulyJ PGjvPeHhAtVU30kTN2tIIKlcD8UEm/jUw4ce7S5EQopXOFPafiCZdV+HsMTcSuVQer360Lzs/+REd 7Cyh7QMw==; Received: from [24.28.19.192] (port=50157 helo=smtpclient.apple) by mi3-ss4.a2hosting.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.2) (envelope-from ) id 1raIkI-0006gz-2j for zsh-users@zsh.org; Wed, 14 Feb 2024 12:08:30 -0500 From: Perry Smith Content-Type: multipart/signed; boundary="Apple-Mail=_A53B6CB4-201E-4A4C-AE00-A188BD7740E1"; protocol="application/pgp-signature"; micalg=pgp-sha256 Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.400.31\)) Subject: Problems with history on macOS Message-Id: <09E1AAC1-45B7-4D53-9028-119BCA5ADCCE@easesoftware.com> Date: Wed, 14 Feb 2024 11:08:20 -0600 To: zsh-users@zsh.org X-Mailer: Apple Mail (2.3774.400.31) X-AuthUser: pedz+easesoftware.com@mi3-ss4.a2hosting.com X-Seq: 29672 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: --Apple-Mail=_A53B6CB4-201E-4A4C-AE00-A188BD7740E1 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 I=E2=80=99ve been fighting this for a year and I guess I will come to = the experts. I want to have one single giant history file and I can=E2=80=99t seem to = get that. It has hovered around 1500 lines. In /etc/zshenv I have: > if [[ -z "$XDG_CONFIG_HOME" ]] > then > export XDG_CONFIG_HOME=3D"$HOME/.config" > fi >=20 > if [[ -z "$XDG_CACHE_HOME" ]] > then > export XDG_CACHE_HOME=3D"$HOME/.cache" > fi >=20 > if [[ -d "$XDG_CONFIG_HOME/zsh" ]] > then > export ZDOTDIR=3D"$XDG_CONFIG_HOME/zsh" > fi I don=E2=80=99t recall if that is stock macOS or not. The result is: > XDG_CACHE_HOME=3D/Users/pedz/.cache > XDG_CONFIG_HOME=3D/Users/pedz/.config > ZDOTDIR=3D/Users/pedz/.config/zsh /Users/pedz/.config/zsh/.zshenv is a symbolic link=E2=80=A6 sometimes = that makes a difference so I=E2=80=99ll mention it. In there I have (amount other things) > export SHELL_SESSIONS_DISABLE=3D1 > export SHELL_SESSION_HISTORY=3D0 I added the DISABLE line a year ago. In my login (also symbolically linked) is: > : ${HISTFILE:=3D${ZDOTDIR:-$HOME}/.zsh_history} > SAVEHIST=3D1048576 > (( HISTSIZE =3D SAVEHIST * 2 )) If I do: env|grep SESS I get: > TERM_SESSION_ID=3DC5339770-2EA7-49CA-A308-355511F0EE71 > SHELL_SESSIONS_DISABLE=3D1 > SHELL_SESSION_HISTORY=3D0 And if I do: set | grep HIST I get: > HISTCHARS=3D'!^#' > HISTCMD=3D1585 > HISTFILE=3D/Users/pedz/.config/zsh/.zsh_history > HISTSIZE=3D2097152 > LESSHISTFILE=3D/Users/pedz/.cache/less/history > SAVEHIST=3D1048576 > SHELL_SESSION_HISTORY=3D0 The absurd 1M and 2M numbers I put out of frustration. As you can see, my current history is about 1500 lines long. Here are the pertinent options I have set =E2=80=94 many I set = explicitly in my login file: > appendhistory :=3D on > banghist :=3D on > cshjunkiehistory :=3D off > extendedhistory :=3D on > histallowclobber :=3D off > histappend :=3D on > histbeep :=3D on > histexpand :=3D on > histexpiredupsfirst :=3D on > histfcntllock :=3D off > histfindnodups :=3D on > histignorealldups :=3D on > histignoredups :=3D on > histignorespace :=3D off > histlexwords :=3D off > histnofunctions :=3D off > histnostore :=3D on > histreduceblanks :=3D on > histsavebycopy :=3D on > histsavenodups :=3D on > histsubstpattern :=3D off > histverify :=3D off > incappendhistory :=3D off > incappendhistorytime :=3D off > sharehistory :=3D off Please let me know if you see what I=E2=80=99m doing wrong. Thank you for your time, Perry --Apple-Mail=_A53B6CB4-201E-4A4C-AE00-A188BD7740E1 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE5yOa/gCtQpb3oCpljxzk9yzE+MAFAmXM84QACgkQjxzk9yzE +MBy2RAAvjKRUwxQU/vattcHuzsTLl4xP8ikdqY83k7r70CWkSpvSi4IGRVRgi5Z S78+LpJvO0nUdJ8zo+kEpvKP8MZ9ngibgkEWlIu7sVfZtXQyTR03vOwcipbxZfkB RnGxbRlmQZO8xdCuFmR2VBLGJPVVVJLs4wWWjxK98TZzg6+HTYPXhD9dh+1Q9bxS uK3DD8Y+rCaMRQ/kqkfDY0m4D0g2JyYDM32+FKgX8lzVKu7qoor4QEsvkGRHZnEa qgS0d1PmRH205UWfAcmVrq4vVhctBHFD803DoUOOoELlx8xt5RbVYQFvvQGNUzlj 2QOguvhLxGRCFXMtf7zvo17xQagVgQvdVgR5CaXQ96KwSXVYUlnoeWutyI8s25uL 5Alh1pP76BmK4Nc2DEUYWJxhI9CYSc0i711Dz/nZa5d7h0YaztgKELdnse99/apF rubjRRLshwVCegNb7aTbGU6a+febCFeDFTgvWu/FWxScykoPC8VgJBHBYj77bK4t sruw61h2j7Giwl5zon1pM6UuZgtLnT5oXArt4XsqCurvyRg8w5eqEiwq11fYh7xE USKNUFnUCFLg8YH5h4Cgss3WZCWt/yg/E3UdATAnrqvspouLESjEd9RWTxAYpLxK b4N5MSH/DoesjScYv1pXc+Q9+dqYu2dU48IusYc7W5RO8IwJHXI= =VP8c -----END PGP SIGNATURE----- --Apple-Mail=_A53B6CB4-201E-4A4C-AE00-A188BD7740E1--