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 24805 invoked from network); 31 Oct 2022 14:32:47 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 31 Oct 2022 14:32:47 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1667226767; b=fkQMADGUYn6LTuRFk/MiRXpVx6xCpYlLqUS3L5zS+qSxkzMTyahLBZxsOebMNHlBCywA7XWdiw mbiem4S0X7Tde5pN6+TZedv36+MCZShzGLvu9Ad8InW97HY1L5btKG/CCvpN8xGIQtoWP6pp3v 8ApGrEbPXB8xCiV1vBJpWkCFFu1kOMplKKoxh4tMHRUPJEH96wPT0BoFbcba+0iXNOGfddpbYt US8ToKGaC4EBkpauatcdu2dBqYqpKLbvlVtIkBkwQF8fOwKYtY9fMKakYUvCjHTEPR3N0Af1J9 +TT/3tfwQKD6i9KzGCKQB8+6eSQPQmT3wr8+RzqBagOeyg==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mta01.eastlink.ca) smtp.remote-ip=24.224.136.30; 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=1667226767; bh=lpRzwaL85S1Syx+paHtX9C124x39kUjuc7CNCrJJTbw=; 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=BR+c7b7J5BBzlDfXL4Zk/0703oOiiFOt5uT0AHdSNNT8vv72q0gys8BnaTFO03HohIXhl4k0IS c0Vu+yTsYWXBAPDQZDvhvVFb+VBv8scECYIIZlPx9551IbUQC5oekuh8SZoGG3H3O/33PHU2N2 nHlET4Rq/LxVofabY0952z3EzBUz17gZaZBT5xeK9K2nuCFo9On/Ysl2z9vXNavtrwSI6I8UDD pJ4CrdVqljQ6dqAvK2u4HaA17PPgqN9vxiJApfeS4mqXy2gSga/MqjTxnG8xO4T1I4IRS2geVq F8mK0B6ZNcfVtQAEBnL00yAApzaifb+jfrbGVipHQG+mlg==; 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=o9ioo/DRZRlaQfGFd7JVtfamt2ZVo1AczWpCFQ1BwWE=; b=gxC5oo97zt9tebtbWLNQEDtJDa bIXRFsbpEVgT9yzt5m8yp41QKcLv5cFTNo9Ue+7wZfUaPrci0KLPrZoW7a4Uqi5eDqzDRew3TvUO8 a45sHEZnyf+A9mV9RNC9e0wpzIGp0PNEev7NT71hG5JwEWOfGTinO7mv1fE3/NXtCtpZ83ZXKMnb7 jfEQ+T5mOgtfuhcRT1yoFx/so9hjrQeYkW119eTEKJRugkc/JfTL7mJ7o0h1obM0oZggawDN1r3xc qP19PPb5aNYdIoeOau2/sbwSKgI9p6APE3JWM1hH4o19G9MfVeEQY2CWDrmLQXSMNxfa72d/6gN5E hCp5xlvg==; Received: by zero.zsh.org with local id 1opVqI-000Po7-P5; Mon, 31 Oct 2022 14:32:46 +0000 Authentication-Results: zsh.org; iprev=pass (mta01.eastlink.ca) smtp.remote-ip=24.224.136.30; dmarc=none header.from=eastlink.ca; arc=none Received: from mta01.eastlink.ca ([24.224.136.30]:51209) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128) id 1opVpe-000P9w-9s; Mon, 31 Oct 2022 14:32:06 +0000 Received: from csp02.eastlink.ca ([71.7.199.167]) by mta01.eastlink.ca (Oracle Communications Messaging Server 8.0.2.2.20180531 64bit (built May 31 2018)) with ESMTPS id <0RKM007X855OT3J0@mta01.eastlink.ca> for zsh-users@zsh.org; Mon, 31 Oct 2022 11:32:05 -0300 (ADT) Received: from [192.168.0.2] ([24.207.18.108]) by Eastlink with ESMTPSA id pVpcoL71wzeXppVpcotrPU; Mon, 31 Oct 2022 11:32:05 -0300 X-Authority-Analysis: v=2.4 cv=cYAU7FPM c=1 sm=1 tr=0 ts=635fdc65 a=xN66ZtSbq5jdJYpBp7G/jQ==:117 a=xN66ZtSbq5jdJYpBp7G/jQ==:17 a=IkcTkHD0fZMA:10 a=Y5w49Fj5VgP_y7aEeIsA:9 a=QEXdDO2ut3YA:10 X-Vade-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrudefgdeihecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfgtefuvffnkffpmfdpqfgfvfenuceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfgfuvfhfhfgjtgfgsehtjeertddtfeejnecuhfhrohhmpeftrgihucetnhgurhgvfihsuceorhgrhigrnhgurhgvfihssegvrghsthhlihhnkhdrtggrqeenucggtffrrghtthgvrhhnpeeihfefvdffleegjeefjeehjeevfffhffdufeeuudefvefftdetudeihfevveeifeenucfkphepvdegrddvtdejrddukedruddtkeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedvgedrvddtjedrudekrddutdekpdhhvghloheplgduledvrdduieekrddtrddvngdpmhgrihhlfhhrohhmpehrrgihrghnughrvgifshesvggrshhtlhhinhhkrdgtrgdpnhgspghrtghpthhtohepvddprhgtphhtthhopeerredprhgtphhtthhopeiishhhqdhushgvrhhsseiishhhrdhorhhgpdhgvghtqdgkihhprfgrshhsfigupehtrhhuvg X-Vade-Score: 0 X-Vade-State: 0 X-EL-AUTH: rayandrews@eastlink.ca Message-id: <249024aa-ae57-e970-ccf1-1d3c8a391417@eastlink.ca> Date: Mon, 31 Oct 2022 07:32:04 -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> From: Ray Andrews In-reply-to: Content-type: text/plain; charset=UTF-8; format=flowed Content-transfer-encoding: 7bit X-Seq: 28292 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: I get the same output with zsh 5.8 as with 5.9. It's the output I posted above. > There must be something else in your setup that is required to get the > line saying "zsh is zsh". Hmmm ... it's down to the dot it seems: ... With the expanded dot in my path: 2 /bin 0 $ whence -mavS "zsh" zsh is /usr/bin/zsh 2 /bin 0 $ zsh ... Restart puts the dot back in the path: 2 /bin 1 $ whence -mavS "zsh" zsh is ./zsh zsh is /usr/bin/zsh zsh is zsh > > Roman. >