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=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,NICE_REPLY_A,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 26236 invoked from network); 6 Feb 2021 23:12:31 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 6 Feb 2021 23:12:31 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20200801; t=1612653151; b=YSxXVaxwpofEHWzXrROKm8C9YkL530j5AJu3wuwtDQN/7oh1G0fimam0e9Bm7kWb5ZLhZHePnO LGniUBteYNYNyAXlv1yfxhWcO/8i83f5ORERE2QCSFv3q1S84p3pU1DkKokxhuKzigzAEQvLRr HrU/jncZxBcgKIYeRoKFbcg1RvfpWQ3IM6YTmIEdWXCBudAyOjPdOH7UWIhdohTHidMbdHOE9a iEufvRZmxVFYedpKp1ZUDN4pTx+FwTz1DDWX1CnEPdbzjlA/7A5sv5wcECt5iYeYs3LXqh+ffk gqOaUgXADizzwcBt7D3FAhdproVUxHM80+g7yspRe9ZliA==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mta03.eastlink.ca) smtp.remote-ip=24.224.136.9; dmarc=none header.from=eastlink.ca; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20200801; t=1612653151; bh=JQjFA1yx9xLYdo3FrqaRdHjjJoLssSprec6IGqdlTT0=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:In-Reply-To: MIME-Version:Date:Message-ID:From:References:To:Subject:DKIM-Signature; b=yRM48bdYwfGhqTYstlQ9ESb3dv5sdwiT0qe+7BQk00qd1hHbaxjjAsgcosYTYoO8j/kwsznjAI HUvn+sUX6zjOsO2xaFbp4OOZerhnsqdzP/1ao9QQM4leVBX5uHAxQ6KOo+CmYPyI26sBlAKzQq oQ5JKLUNlRKIteu9Ekig/aPQQRZyvDctjB4BxWWPZTeLUQQEhxT/in0xULudml39ppPWIKpdbZ dP1pVUe2XxKvrdVyiK9aI0885tpys45kj+4PYM6I2g6l2agy3YCUkArW50wTpnwemlm/hF2y7D WLjAeAaE48b+3mjH0znB733+1DS3OPHBiDWxxXq7bDeCcw==; 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:Content-transfer-encoding: Content-type:In-reply-to:MIME-version:Date:Message-id:From:References:To: Subject:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=RtH+Q25gluTZ6z1S+ntR2uCwTSOEQMkdaKFlw7fulck=; b=Dm/0mdXiBhgi0zPIr2pi0nSDbC 47VtUDIt/ENtuaBwnkNrcits5fYQVRdclCimECAycIuimDWQTyWtUNx88eNnYugBe6Pi589R++RcO HFCmG9JprynX5srGpkoDJ421XQuu9mKNgXba8a4/hY7qm+0ETScobrCl3FZkLRh61jMyclGYvdiJB FPgNcI5Af0d7Hax9ZfMv28C27wsJX8iHrZ5qtK99sS5hm2EpfKlSSe5C6S0ISw/NxaUhDit/8/3Zb /pIqMiixt+b8062bq6kjxFGW33UOE4hCbG2Vu9bZpU/lZ1B3wlA0VyDYJTg878U4PCW2L9TGK7yEO 1YZ0pCCQ==; Received: from authenticated user by zero.zsh.org with local id 1l8Wke-0002vX-JY; Sat, 06 Feb 2021 23:12:28 +0000 Authentication-Results: zsh.org; iprev=pass (mta03.eastlink.ca) smtp.remote-ip=24.224.136.9; dmarc=none header.from=eastlink.ca; arc=none Received: from mta03.eastlink.ca ([24.224.136.9]:43677) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128) id 1l8Wk9-0002Xu-Sv; Sat, 06 Feb 2021 23:11:58 +0000 Received: from csp02.eastlink.ca ([71.7.199.167]) by mta03.eastlink.ca (Oracle Communications Messaging Server 8.0.2.2.20180531 64bit (built May 31 2018)) with ESMTPS id <0QO4007C9QW8VV10@mta03.eastlink.ca> for zsh-users@zsh.org; Sat, 06 Feb 2021 19:11:56 -0400 (AST) Received: from [192.168.0.3] ([24.207.90.194]) by Eastlink with ESMTP id 8Wk8lEykHnkRC8Wk8lX4e4; Sat, 06 Feb 2021 19:11:56 -0400 X-Authority-Analysis: v=2.4 cv=B+J8bMhM c=1 sm=1 tr=0 ts=601f223c a=zv49KfEsxEDzuN5AGO7r0Q==:117 a=zv49KfEsxEDzuN5AGO7r0Q==:17 a=IkcTkHD0fZMA:10 a=G4uc5Vah3b2Nu68SBncA:9 a=QEXdDO2ut3YA:10 X-Vade-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrgeelgddtjecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfgtefuvffnkffpmfdpqfgfvfenuceurghilhhouhhtmecufedttdenucenucfjughrpefuvfhfhffkffgfgggjtgfgsehtkeertddtfeejnecuhfhrohhmpeftrgihucetnhgurhgvfihsuceorhgrhigrnhgurhgvfihssegvrghsthhlihhnkhdrtggrqeenucggtffrrghtthgvrhhnpeekvdeuuefffefhvdeuieetffdvtddvjeegueejkeeiudehieetieehgeetvdfhfeenucfkphepvdegrddvtdejrdeltddrudelgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedvgedrvddtjedrledtrdduleegpdhhvghloheplgduledvrdduieekrddtrdefngdpmhgrihhlfhhrohhmpehrrgihrghnughrvgifshesvggrshhtlhhinhhkrdgtrgdprhgtphhtthhopeiishhhqdhushgvrhhsseiishhhrdhorhhgpdhgvghtqdgkihhprfgrshhsfigupehtrhhuvg X-Vade-Score: 0 X-Vade-State: 0 X-EL-IP-NOAUTH: 24.207.90.194 Subject: Re: command recall To: zsh-users@zsh.org References: <453532ec-a8c6-a3b6-c44d-9107e98250ca@eastlink.ca> <52C36B95-58AC-434A-93BF-88E77464C04B@larryv.me> From: Ray Andrews Message-id: <0d8b2865-4fbf-f779-cf69-def7428dd6b3@eastlink.ca> Date: Sat, 6 Feb 2021 15:11:55 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.6.0 MIME-version: 1.0 In-reply-to: Content-type: text/plain; charset=utf-8; format=flowed Content-transfer-encoding: 8bit Content-language: en-US X-Seq: 26471 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: Archived-At: On 2021-02-06 2:08 p.m., Bart Schaefer wrote: > > The issue here is that when sitting at a prompt, zsh is (usually) > doing literally nothing. It can't discover that the history file has > changed until you unblock it by doing something, and it doesn't update > the shared history until the current local history is ready to be > written. You know, when one understands the logic of the thing, the problem isn't even a problem anymore.  Still, hitting the up arrow is doing something is it not? Hitting it the second time updates fine.  '$ history' is up to the second so why couldn't the up arrow check the same up to date history list before giving you a line rather than after? Ultimate small issue tho.