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,NICE_REPLY_A,RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 24012 invoked from network); 31 Oct 2022 23:18:12 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 31 Oct 2022 23:18:12 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1667258292; b=QxcSjRoMxM/pQHNSmWKI6MhqVqNDlcRBSKT3PyLAlM0omcZTjd1dbQkY1GwBNjayyZArtTu0DY mQT4jZOz75Elmzx5pMC0N8oQc3nNGW9xCoC5pPUeYjE81D7W4fbOl6iDuTnccg2MgSvUpAHscr Zt4McvtTvSUo2V92slEaFBFgM9QNhaZ939OL+O6suulpvhKXSYaJL3ZJ6eYu3ONTpOMBAvxgiX 9+2Zt36MR6QHmVwwIklzsLy5/nNZtEh+QmSIIi97wM1levR7COP6a7B8PIf+bb1cqP7RLZVQwl Kieb6/L8oIAv0CTBh9oORBU0OQzDjDN3HvoZtV4ckhnCYg==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mta02.eastlink.ca) smtp.remote-ip=24.224.136.13; dmarc=none header.from=eastlink.ca; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1667258292; bh=Us2dFg6/6004Mazi10l6g1ZjP1wH/UVO7KiDhsqFZ1Q=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:In-Reply-To:From: References:To:Subject:MIME-Version:Date:Message-ID:DKIM-Signature; b=L2DxIiYzOAKowez2i5nMNdvJfvzHjfbzppvM1RAzIt9RDVU/EwOsHpkFEuttQJWugm+niL22rY DaJlWbVlN6V5xPRuGq9q3Hnf/h2OwTsGDDuhEZ+8wJjN55DnS4pdhulUJyGqf8VlQ9taF6/mXX YRU186u9iW6uTBe3FjpPMpYGjPhV/SAYlfN77bs7b5ErysRDX8IkK5fLNVLE1Ahk2gBW3SjGmy el+X+fUeYW5mDVmORpgSD6e02jMO/RIXMhgrEO3HRzdXIAcE+ia7ASINQRuCT0sauEOFscU2qK qCoj2eCu2uYnp69rYPcHFAYBOLVqUq6gS1Ivp0VSWCqvew==; 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:In-reply-to:From:References:To:Subject:MIME-version:Date: Message-id:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From :Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=4RyN8gAkoM1V2dIPsYUitavSxMxgFb/k+R6ofe6IBxA=; b=hwJSFys+KlBTAOzYvlLm7RHstq 8qHEkFcVrvlKB0XfXNc8YmBOiY5zXsJu6mUduOq6dJVGpqQFSGcxlcmgOiOapp6CtFuRbxkn2UxZG H4N6JzhJd+FSFbbHAk2DOV5YOyFC/qq6m57fYqEVykHjtdTk95vSRaRNIIsjIgdB2VFiUn1DtIk/6 h/OhEeGVuggUGSJAJcQG4uwcDnNUxH0ZJHY2Z3MbRKNoXCKt44m6EUxxyX0qOv9NfzSyB2RFOqMHE 0HYBlJz9/ENUWkR/znh9qVU0b4JQnFW64KZkfm7m2BI+oLjZyM4leCfnyaTSqLNUmeVYNstLUhPPA nXZjYDTQ==; Received: by zero.zsh.org with local id 1ope2m-000Kys-LF; Mon, 31 Oct 2022 23:18:12 +0000 Authentication-Results: zsh.org; iprev=pass (mta02.eastlink.ca) smtp.remote-ip=24.224.136.13; dmarc=none header.from=eastlink.ca; arc=none Received: from mta02.eastlink.ca ([24.224.136.13]:57427) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128) id 1ope20-000KG5-2x; Mon, 31 Oct 2022 23:17:24 +0000 Received: from csp02.eastlink.ca ([71.7.199.167]) by mta02.eastlink.ca (Oracle Communications Messaging Server 8.0.2.2.20180531 64bit (built May 31 2018)) with ESMTPS id <0RKN00GT74MFXNK1@mta02.eastlink.ca> for zsh-users@zsh.org; Mon, 31 Oct 2022 20:17:22 -0300 (ADT) Received: from [192.168.0.2] ([24.207.18.108]) by Eastlink with ESMTPSA id pe1yoMMBbzeXppe1youFI7; Mon, 31 Oct 2022 20:17:22 -0300 X-Authority-Analysis: v=2.4 cv=cYAU7FPM c=1 sm=1 tr=0 ts=63605782 a=xN66ZtSbq5jdJYpBp7G/jQ==:117 a=xN66ZtSbq5jdJYpBp7G/jQ==:17 a=IkcTkHD0fZMA:10 a=fH7j9VaZrF8r6Zyb7jIA:9 a=QEXdDO2ut3YA:10 X-Vade-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrudeggddtlecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfgtefuvffnkffpmfdpqfgfvfenuceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfgfuvfhfhfgjtgfgsehtkeertddtfeejnecuhfhrohhmpeftrgihucetnhgurhgvfihsuceorhgrhigrnhgurhgvfihssegvrghsthhlihhnkhdrtggrqeenucggtffrrghtthgvrhhnpeeitdejffevgfdtheeggfetkeeugeegieetuddtvddvudetteffvdevlefgueekudenucfkphepvdegrddvtdejrddukedruddtkeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedvgedrvddtjedrudekrddutdekpdhhvghloheplgduledvrdduieekrddtrddvngdpmhgrihhlfhhrohhmpehrrgihrghnughrvgifshesvggrshhtlhhinhhkrdgtrgdpnhgspghrtghpthhtohepvddprhgtphhtthhopeerredprhgtphhtthhopeiishhhqdhushgvrhhsseiishhhrdhorhhgpdhgvghtqdgkihhprfgrshhsfigupehtrhhuvg X-Vade-Score: 0 X-Vade-State: 0 X-EL-AUTH: rayandrews@eastlink.ca Message-id: <007c7d7d-d73e-167d-2fca-adcd35eaf144@eastlink.ca> Date: Mon, 31 Oct 2022 16:17:21 -0700 MIME-version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.0 Subject: Re: whence output varies with dot vs. realpath in $PATH Content-language: en-US To: zsh-users@zsh.org References: <8cfe03ee-cddc-f70b-0c62-b506e49dfe58@eastlink.ca> <249024aa-ae57-e970-ccf1-1d3c8a391417@eastlink.ca> <4f4fb806-fef1-52ba-2559-f2629c823939@eastlink.ca> <1f246a94-944c-cbc3-27af-43a34b90151d@eastlink.ca> From: Ray Andrews In-reply-to: Content-type: text/plain; charset=UTF-8; format=flowed Content-transfer-encoding: 8bit X-Seq: 28300 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 2022-10-31 16:03, Bart Schaefer wrote: >>>> If $PWD is actually in the path >> That can be in there literally? > No, that's not what I meant. $PWD was shorthand for "the expanded > name of the current directory" like you were generating with > $(realpath). > I'm just experimenting with that now, but it seems to work ... but only once per restart of the shell, just as I really should expect. Back to the dot.   So it has to be dynamic.