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=-5.6 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 20276 invoked from network); 16 Apr 2023 20:23:29 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 16 Apr 2023 20:23:29 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1681676609; b=pqbYB5cdFKYV/VuPdEJilXJifBzrAGV2JOxcV9eCILl9RO2eEBhZhhaORHv0EvwkxIdsI0WuRQ /uq9cEvpUJTs346c2j8BPp0WSdNscyomYh2Dej1JpHXHGKhc+O+iWxE30Hmed7PBAubMP/2Pis +0/UfxB/rFzQI8qgWIhg+AcDMNdqxWrzCpnfpj3uOPCiH3FVqsW0OmwF0RFIvQBzMN3AUtV20g Rso8ezVtRZx1fCG7gYgpjenmgvV7GDKAnXuEyZZbQvk72uCqxYba1m1vrqr52jwXC6rxabjo/X 4joUNuf2CeoaBofFTqbyGVS3ppv9/tELPx6OO0t7tbI5ng==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mta04.eastlink.ca) smtp.remote-ip=24.224.136.10; 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=1681676609; bh=ErR7vv7NsJ1dXd1eLKLNo6zkq3XBytgmwXzkg6LZ77c=; 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=SKvahNTDdAROFYMXfCrtAp4GGRtPAyGrGBDhwhLqaUQiecKd/3j1Zpe6K4jlvSm0NwkHICrc8L 8NALRmwIq7huv+3nNwp6UN5qFEwlu+PTEBgdjcOrn6nLaEpOmCeGKyIaSFeFZWyB+fyJ84OUqa ri8YoEohMk9gwQ/nLvwz5Lt5a1y/fm5blyQdOP5mpnAFE2SVgcq6I381svw7uEf2Kuum5RhQst TTJiW63m2uPmQxtcN6WqJ10utc/dm5svWHB3jWVBM9n89TIPeRzazc12ElqPFrKHL1WBXG3qAr I+InYOqqD2VQIDihOHVGsnz2Cf7qDhAXoqrAkxESLEc6qw==; 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=AhfpULsnLs2D1sTK/gqL3KPA+i0n4cWzquLumPkZL0U=; b=l3BeFKvINc0NO+O6Ydns9Rq8z9 BBHPD1XNLc73BOLpI0wxX129vctO3AcbNDD5XEF5SZAcUBM8OzIR21WX1gu0rD2p9wfXbHRphIyLM bgD7isoSe9T7uDp/CEhV9NoEb2cgImbpMEEP06An1NjZEaFxxMxqYOnn8vsBF23Q2gooD+/t3WTtR 1ID47kEiWME4yAPAf5/2eMELoCqBxjmofNF0lrn3v/wjIdj76PL1ZMkU1h/yAM3c2EbP/X/9oBlXm eqw1n/aVhbJQt6Q0G4AZjOm8E5iJxIdhOqwJJ99gYSgdDK+w46DiA9jKwcYmqo0f5kg4zGLQ0C2UK Q/jM0gcg==; Received: by zero.zsh.org with local id 1po8uH-000Nor-Kt; Sun, 16 Apr 2023 20:23:29 +0000 Authentication-Results: zsh.org; iprev=pass (mta04.eastlink.ca) smtp.remote-ip=24.224.136.10; dmarc=none header.from=eastlink.ca; arc=none Received: from mta04.eastlink.ca ([24.224.136.10]:39662) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128) id 1po8tp-000N8g-Ec; Sun, 16 Apr 2023 20:23:01 +0000 Received: from csp01.eastlink.ca ([71.7.199.166]) by mta04.eastlink.ca ([24.224.136.10]) with ESMTPS id <0RT800B3H5UYSUF0@mta04.eastlink.ca> for zsh-users@zsh.org; Sun, 16 Apr 2023 17:23:00 -0300 (ADT) Received: from [192.168.0.4] (host-24-207-18-108.public.eastlink.ca [24.207.18.108]) by csp01.eastlink.ca ([71.7.199.166]) with ESMTPSA id o8tnpfFgphhvwo8topzOex (version=TLSv1_2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256); Sun, 16 Apr 2023 17:23:00 -0300 X-Authority-Analysis: v=2.4 cv=NdAglUP4 c=1 sm=1 tr=0 ts=643c5924 a=xN66ZtSbq5jdJYpBp7G/jQ==:117 a=xN66ZtSbq5jdJYpBp7G/jQ==:17 a=IkcTkHD0fZMA:10 a=71aNUBhXTvzDVjLje0UA:9 a=QEXdDO2ut3YA:10 X-Vade-Cause: gggruggvucftvghtrhhoucdtuddrgedvhedrvdelgedguddtjecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfgtefuvffnkffpmfdpqfgfvfenuceurghilhhouhhtmecufedttdenucenucfjughrpefkffggfgfuvfhfhfgjtgfgsehtkeertddtfeejnecuhfhrohhmpeftrgihucetnhgurhgvfihsuceorhgrhigrnhgurhgvfihssegvrghsthhlihhnkhdrtggrqeenucggtffrrghtthgvrhhnpeeitdejffevgfdtheeggfetkeeugeegieetuddtvddvudetteffvdevlefgueekudenucfkphepvdegrddvtdejrddukedruddtkeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpedvgedrvddtjedrudekrddutdekpdhhvghloheplgduledvrdduieekrddtrdegngdpmhgrihhlfhhrohhmpehrrgihrghnughrvgifshesvggrshhtlhhinhhkrdgtrgdpnhgspghrtghpthhtohepvddprhgtphhtthhopeerredprhgtphhtthhopeiishhhqdhushgvrhhsseiishhhrdhorhhgpdhgvghtqdgkihhprfgrshhsfigupehtrhhuvg X-Vade-Score: 0 X-Vade-State: 0 X-EL-AUTH: rayandrews@eastlink.ca Message-id: <5d48d48c-340b-760b-f307-5613c9aaf081@eastlink.ca> Date: Sun, 16 Apr 2023 13:22:59 -0700 MIME-version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.9.0 Subject: Re: order of sourcing Content-language: en-US To: zsh-users@zsh.org References: From: Ray Andrews In-reply-to: Content-type: text/plain; charset=UTF-8; format=flowed Content-transfer-encoding: 8bit X-Seq: 29040 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 2023-04-16 09:48, Ray Andrews wrote: > > On 2023-04-16 09:17, Roman Perepelitsa wrote: > > $ for aa in *(.); do source $aa; done > > ... doing that in my test directory cures the problem, but I still > have the problem with my real functions -- I have to re-source > function files that call other functions if the called function is > sourced latter than the calling function. Here's the real example: All functions in the directory are sourced with $ for aa in *(.); do source $aa; done ... the two functions are 'i' and 'v', with the former calling the later. 4 /aWorking/Zsh/Source/Wk 3 % i zsh _i:104: permission denied: v 4 /aWorking/Zsh/Source/Wk 3 % . i; i zsh ... All OK.  Could aliases have something to do with it?  I can't duplicate the problem with test functions tho.