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.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 26144 invoked from network); 2 Nov 2022 01:15:22 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 2 Nov 2022 01:15:22 -0000 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:Subject:Cc:To:From:Date:References:In-Reply-To:Message-Id: Mime-Version:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=FGO/wpF4pod8mYAMR/9KbI4mdy8sV5JuE6kZgrDxfzk=; b=nm5C17J1Om+6+aZ/7+uCGNnSAG YFvaM1gkq6FHLMXv8lTDm77Ji35lYSvw3A3BYVppyuT2SAPhff+J+yjExR7hmVmgUfBQR19lbtOXD 37WtVe7aaIYiKkXrVKSSyhmEA2eGTbnm9vvd0OEiMf3zDz4QcBrYeEnKr1nKSC/Txur5hsnK9wFa9 Wo1J6Azg4CpNL3cph5iZzxsl44ll/uFqLMLO5XJbwtoN6KtgfcsVcS6pGv+sz710J64Kl2OyzCQjp FcUOll9OX+2YBmcO5hyfZuD8CIvRbZo7N1d+ZOEwYmOW/NWmTaXty5IVlmITfy/RS8tGe8WUkYmTS k/yhvVMQ==; Received: by zero.zsh.org with local id 1oq2Li-000OoB-9V; Wed, 02 Nov 2022 01:15:22 +0000 Received: by zero.zsh.org with esmtpsa (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1oq2Kw-000O69-6I; Wed, 02 Nov 2022 01:14:34 +0000 Received: from compute2.internal (compute2.nyi.internal [10.202.2.46]) by mailauth.nyi.internal (Postfix) with ESMTP id 006A627C0060; Tue, 1 Nov 2022 21:14:31 -0400 (EDT) Received: from imap48 ([10.202.2.98]) by compute2.internal (MEProxy); Tue, 01 Nov 2022 21:14:31 -0400 X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvgedrudeigdeffecutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmdenuc fjughrpefofgggkfgjfhffhffvvefutgfgsehtqhertderreejnecuhfhrohhmpefnrgif rhgvnhgtvgcugggvlhojiihquhgviicuoehlrghrrhihvhesiihshhdrohhrgheqnecugg ftrfgrthhtvghrnhepheegieduieegvddvffdvgeefuddugfetvdettddtfedutdejvefg jefgveethedunecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrh homheplhgrrhhrhihvodhmvghsmhhtphgruhhthhhpvghrshhonhgrlhhithihqdduudeh udekjeejtdegqdduudelvdejfeekhedqlhgrrhhrhihvpeepiihshhdrohhrghesfhgrsh htmhgrihhlrdgtohhm X-ME-Proxy: Feedback-ID: iaa214773:Fastmail Received: by mailuser.nyi.internal (Postfix, from userid 501) id A5E2E31A0062; Tue, 1 Nov 2022 21:14:31 -0400 (EDT) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.7.0-alpha0-1087-g968661d8e1-fm-20221021.001-g968661d8 Mime-Version: 1.0 Message-Id: <4f5942d7-c5e2-45fd-8da0-1de3dd8b2cf9@app.fastmail.com> In-Reply-To: <69b46d22-4430-ddba-4b21-a220b4816438@eastlink.ca> References: <5f18c162-e111-21ba-3ebe-ece09a477ecd@eastlink.ca> <552657de-31ce-255a-bc8d-7c9cd4b8eabd@eastlink.ca> <530b18d0-5e72-6afd-7448-cdff9c119bda@eastlink.ca> <9712ca3f-76f8-3aed-0a40-c6269afb73ad@eastlink.ca> <69b46d22-4430-ddba-4b21-a220b4816438@eastlink.ca> Date: Tue, 01 Nov 2022 21:13:32 -0400 From: =?UTF-8?Q?Lawrence_Vel=C3=A1zquez?= To: "Ray Andrews" Cc: zsh-users@zsh.org Subject: Re: "typeset -p" inconsistency Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Seq: 28315 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 Tue, Nov 1, 2022, at 6:46 PM, Ray Andrews wrote: > On 2022-11-01 14:40, Bart Schaefer wrote: >> It doesn't actually re-create anything right then, but the definition >> of -p is "display in the format of a typeset command" > Still I just wish there was some simple way of displaying the state of=20 > things without the pseudo re-creation.=C2=A0 It seems like a simple th= ing. "It seems like a simple thing" (based on zero evidence, btw) is not a reason to duplicate existing functionality in a less precise and significantly more verbose way. >>> fignore=3D( ) >>> FPATH=3D/usr/local/share/zsh/site-functions:/usr/share/zsh/vendor-fu= nctions:/usr/share/zsh/vendor-completions:/usr/share/zsh/functions/Calen= dar:/usr/share/zsh/functions/Chpwd:/usr/share/zsh/functions/Completion:/= usr/share/zsh/functions/Completion/AIX:/usr/share/zsh/functions/Completi= on/BSD:/usr/share/zsh/functions/Completion/Base:/usr/share/zsh/functions= /Completion/Cygwin:/usr/share/zsh/functions/Completion/Darwin:/usr/share= /zsh/functions/Completion/Debian:/usr/share/zsh/functions/Completion/Lin= ux:/usr/share/zsh/functions/Completion/Mandriva:/usr/share/zsh/functions= /Completion/Redhat:/usr/share/zsh/functions/Completion/Solaris:/usr/shar= e/zsh/functions/Completion/Unix:/usr/share/zsh/functions/Completion/X:/u= sr/share/zsh/functions/Completion/Zsh:/usr/share/zsh/functions/Completio= n/openSUSE:/usr/share/zsh/functions/Exceptions:/usr/share/zsh/functions/= MIME:/usr/share/zsh/functions/Math:/usr/share/zsh/functions/Misc:/usr/sh= are/zsh/functions/Newuser:/usr/share/zsh/functions/Prompts:/usr/share/zs= h/functions/TCP:/usr/share/zsh/functions/VCS_Info:/usr/share/zsh/functio= ns/VCS_Info/Backends:/usr/share/zsh/functions/Zftp:/usr/share/zsh/functi= ons/Zle >>> >>> ... is that really necessary? >> Is what really necessary? I don't understand the question. (There's >> no relationship between fignore and fpath or FPATH, if that's what you >> mean.) > > No, I mean it seems a bit long and a bit belabored.=C2=A0 I'm just say= ing=20 > that I'd expect those variables to be set to standard internal paths,=20 > and if someone is running some particular distro they can add to the=20 > paths as needed. Ask whoever packaged your zsh. That is not the default FPATH. > Come to think of it, those directories are in the 'fignore' ...=20 > are they to be ignored? What? Based on the output you shared, fignore is clearly empty. --=20 vq