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 autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 13915 invoked from network); 19 Mar 2023 21:02:14 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 19 Mar 2023 21:02:14 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1679259735; b=OyPxvN9gZHZBmWfvQzJatsI/tJz6utR4TD5Go4AmY8wFsr5Ixp05gHS+/c0B08tdJ0xEVkzCe9 csDYZWd8NJAW38xZ1KM4q+H3rqGWOZ4pqb/kHV/5lit4jahppkVhWtzs5jIkTAfbiC3DpYn2rK 0PczxxYkBPpnCLLyYMZsN2EEthHV/E0dGMHpa/In/et4CPpDDhGb00fwOIuK8mequfaeNcSP3x OZzuCDY8ZoY3ESbe6KNXrJIhl2eNPC8d7fwf/L3Emb5ZfuEydau/yIxQGsDzspKBzbp33TnBWj mdbojlWlbpyFp4Cf1Px9ftl83SSnU6OI0dBX2pICOqXkpQ==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-ed1-f47.google.com) smtp.remote-ip=209.85.208.47; dkim=pass header.d=brasslantern-com.20210112.gappssmtp.com header.s=20210112 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1679259735; bh=rSZBt+arERshXWh+NkA/Ot2e5JxIumYa0+oUylM2e3E=; 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=HgmnXewLuyKtwJSWSZfVu6pgVhDTEm3eiQWHx6U4s0b9Oqb5Pj3qWcBqcCDnD/DX1KgUlXQNEM jqqqHJ449FDT0WNdkxJS4rlPwIa84skxQdx+WO8Ep8J+Ti53mEhgjmEmjCjm/pwiB/kz35T6QA J9uK9/eL8d6vLQtAPNgfo66fjZsokquU8sZfzGEGtatbSl1JSf7PXQFNwkZ/ATZOQNY6vI1qiv T921OVHbS7q77rJevAC6BeiZnUzk8UWHfZZaT3GMUjqPCrh4HuHOWomlWiaRaQyv1+6A1KNdOh xZA8EM1enqSSL25qXV8dbkKC4ovSNLXXJyx8bJgW1dxMcQ==; 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=VPuK4RUW2982TNmRZ7PhbqBTi8YALziO6WFnkjSaSmQ=; b=Oa28S4ezVktbmDCzqJv7MM8KAv k8Rng4TCGHSWXiuJpCImJRgXSzJncg2BOu/uc2JazLQ6jc9B8SfH0Awo5AU5ZEljUeR7wpia04+7E 3Px7Lhh4nLeUrkKegWjYbRO5SD/P1SegBaRmT4+iTVjzCaDluR0Yl4NBYS229DFDduKocyNn01W2f Wze10+LSWZsl9kmO8p6tMFmYbyYF5JepJ5luQD+9dN52DmuMQzOIKwqdP+IcQauG1arr2THDUaPLj K/9bOIafyP0piUNgm+ojej9MxKqnUoN4PJ12GxcvqHGReWhXWW2jD0RC2EzZiZacykdDHp096R5Cf ya97uRAA==; Received: by zero.zsh.org with local id 1pe0AQ-0008Pv-6u; Sun, 19 Mar 2023 21:02:14 +0000 Authentication-Results: zsh.org; iprev=pass (mail-ed1-f47.google.com) smtp.remote-ip=209.85.208.47; dkim=pass header.d=brasslantern-com.20210112.gappssmtp.com header.s=20210112 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none Received: from mail-ed1-f47.google.com ([209.85.208.47]:34324) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1pe09h-0007hV-9J; Sun, 19 Mar 2023 21:01:29 +0000 Received: by mail-ed1-f47.google.com with SMTP id b20so6624918edd.1 for ; Sun, 19 Mar 2023 14:01:28 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20210112.gappssmtp.com; s=20210112; t=1679259688; 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=VPuK4RUW2982TNmRZ7PhbqBTi8YALziO6WFnkjSaSmQ=; b=pc9O2LYuIlU01BdbJT4ExEy5lcB62oi7WuRmGLaLbWAHaLBayvLp2qorlCgO7xehs2 YkgH+Vu/lyTq7Y7bqax7k5+Rt05mrDD98CkoBwDb8VN2NKjKzgl5/tF/rVW3tqQbZ7Jc 5rTHtbbjx8gUOXxqdg/j+LWDMFFRA/VI1VTU9ss5b/LOvVF5dPqRHxnpYdTnWtIsz3S3 HckBwISZ/2oHmuVo72P9bt3O7TGS2bUOUN4rBHcJWjap8ITZxdEgYkC9LDToOxftluby cRJi/uRIHNlBf57Wr4xbtxvs/YkFT/2MQJ4Uy7/wV5GscGWEh1y4xPQw+pr2oWQzGC2Y QDnQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679259688; 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=VPuK4RUW2982TNmRZ7PhbqBTi8YALziO6WFnkjSaSmQ=; b=CJokGPfPChHkZzCUA6a5gxCVDwqO4K61NZBCexJRTMlRHc421omU6SohdWNA+BMBPA U/eH4gfzqfwATbBn7L6sUpJctEqenPQF+wtUOCKTtXMqHtaKEHOMKPLV07xNmL1t/YG5 goakdxWsaYhIyDPpQjfOQsAwW71Z7fZBdA6jX70B9yqeF+zn5s6C+xm1ELLtKpOf6+nw FT4owOCVotmAzJ7fyIshyy3jsZdLtXX2K1UbAaXpqJ0gNR3IerO8cevizkedp1Fv4xS9 oGFEecVG5SVhtY4iYfRGLG1q4rAhBNpZefKZnE63qWbWMNa1mlcDgRRqcPkdiQN/FHeG tfUg== X-Gm-Message-State: AO0yUKWZEssNL0G3PhwJ1C8EsnoP5SqN8vdntaq6mgTh3scFO1xfbtR1 xcgvZ4X4yd5peDIOlOv4K4fXKE8XNINcXW5ttzFMsg== X-Google-Smtp-Source: AK7set/WpOnwEKaixJssyqleggsZjsYAGrEB0aXqO2VRKm1e4ZheD1dGkXTQ/HA+ff1qrJ5qW6G0IH/k8qNom/BAOVU= X-Received: by 2002:a50:aa96:0:b0:4f9:f4f7:9e8f with SMTP id q22-20020a50aa96000000b004f9f4f79e8fmr4815310edc.2.1679259688461; Sun, 19 Mar 2023 14:01:28 -0700 (PDT) MIME-Version: 1.0 References: <33a75d10-d765-3d79-a179-943c57659111@protonmail.ch> In-Reply-To: From: Bart Schaefer Date: Sun, 19 Mar 2023 14:01:17 -0700 Message-ID: Subject: Re: The HIST_EXPIRE_DUPS_FIRST might corrupt and wipe partially history file if many shells exit at the same time To: Piotr Karbowski Cc: zsh-users@zsh.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Seq: 28975 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 Sun, Mar 19, 2023 at 11:38=E2=80=AFAM Piotr Karbowski wrote: > > The HIST_SAVE_BY_COPY does not seems to be enabled and I am unable to > enable it. "setopt" with no arguments shows you only the options that differ from the defaults. So if HIST_SAVE_BY_COPY does not show up, it IS enabled. Use "set -o" (with no other arguments) to see the full set of options and on/off status, or "setopt kshoptionprint" before running "setopt" alone. If an option shows up with a "no" prefix in unsetopt output, that means it is on. There is no third state.