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,RCVD_IN_DNSWL_MED autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 13183 invoked from network); 29 Jan 2023 04:36:28 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 29 Jan 2023 04:36:28 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1674966988; b=qg+UFu7lYhmwUJ/zid5SopAG/ZEa0ONF6VVbOQ6726hdsghXP2xGV0r6gOcXFhr0PSyD8r2YYb lKnOUI5t9VV36lnzhnQIG8S8US5KUVEAZ+Q5bY99jivyjY43L4alceEl+PjrZLXkhrSdtJSvDM FRN2xIjSLo5OmCeizn3gU0ZfOxejgZ+tHPMP9IfAFFBIAZSpKXq1urYKT33G0ryh+SoPqvMAN+ FzIWXpC4YAEiYCsL6BC/Shm4/q/XKuVBsNyliZhW8EX06r5jEoHJ80rAlXUR4Xu4C9I4OdcIVy QZiMt668em8Au4eaGea+Tb8NsDaOriR4/ZgpHj/CXj7vXg==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-ej1-f54.google.com) smtp.remote-ip=209.85.218.54; dkim=pass header.d=brasslantern-com.20210112.gappssmtp.com header.s=20210112 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1674966988; bh=21ItjDLPXbfGDmVLCcF9ieiiBVGat90soTqHsu2a2NA=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:Cc:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:DKIM-Signature:DKIM-Signature; b=pOj/k+/yp4cvG//cmQTnl1Xv8+NnWBNOsAiXh0fpQ9u1gK2xXuTuLUpo4mtIescPOlhz9wBIJJ /aIXbIX/7GvNi7YP7J3AeU6JRn/aHFZNS2Aki5s2xMhRfow1bGmMq5rXN5nqkN8C3kp29U2cX8 CaimEcYHjkYO5EqwDamjQimfEvM9L7qXNTgphRxCNYweUx9bDbqiTa+FF8XLJbE0LuL4q/EG3U KIVOE3+uLGJnwIWv38qCEl8NaIkmffW5+Ry/uv4WtUVpvFu/DFJp6tuYV45+E4KKb6O3ENFw8l N2kgt2CmGuXbB/7i4AbZOFrKFo3FLcT47X4khNp3FGak6A==; 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-Type:Cc:To:Subject:Message-ID :Date:From:In-Reply-To:References:MIME-Version:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=R5XKkaJJgp6PI66vAZRzG/L1rF+jCNKmRlhdkWe/3sI=; b=cSA0PoNqf31ZjnPPNP2bVp041x GMyxj6IXaLvzvfGZnpavWriDglDt7NeQTgNADcCyCl9szrdby0XpleH+Wv1dAqVgDbhxy6WorYpDS 6Lwla/4G065C1q+Q9TfHn66NBdh34aKh4i8AQwUEnV/OzAja6BiCAZxzI8EmmE0x59GzNVocqTI+u mcykkVQ5s28oXLlBT2l8LusAriXQwsyoMzEcTPqyuyGyxDe2IGaJY5/Ty4OlPf35n9bkBdQIPkHl7 h1q/i20sPvHV90Tx+ZAXGewm6Ue8uXRrCo0hg38URxxm/IXCJQwoywh3EaPTQxpwHlPVVam2cappy JFpbZGwQ==; Received: by zero.zsh.org with local id 1pLzQa-000J7a-63; Sun, 29 Jan 2023 04:36:28 +0000 Authentication-Results: zsh.org; iprev=pass (mail-ej1-f54.google.com) smtp.remote-ip=209.85.218.54; dkim=pass header.d=brasslantern-com.20210112.gappssmtp.com header.s=20210112 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none Received: from mail-ej1-f54.google.com ([209.85.218.54]:34473) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1pLzPo-000IPF-OI; Sun, 29 Jan 2023 04:35:41 +0000 Received: by mail-ej1-f54.google.com with SMTP id k4so17990156eje.1 for ; Sat, 28 Jan 2023 20:35:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20210112.gappssmtp.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=R5XKkaJJgp6PI66vAZRzG/L1rF+jCNKmRlhdkWe/3sI=; b=D1MlYn8AzkGMDAtCX5MnC2+3zI649n9c8rIk3MakUKQX7GktM3lURiPuyaJqKMscYo 9b4HgG6uxinwLtjnprxkTLEUlyFIsr6hokMS1n9pqWPnNzEZvjesmgISzd8SA9vUXE3q lDBWiljc9UJKfTX/Js1bGcivDMfKEB7ly+7BUfP8N99d38GCl3Yh+kRXVG2NdsZPrGlv +pbytEK6k7PiPZros1D8V3U7V0hzpSjpjkHfHbNJDfPS5IGOEOVDhW5EPPqIEr3c8fdC dMdImvcxS1sgP4FumIYJGJRU1DqfHrDtozcMZU4Y/W7Gpsyxcw97f7T6Ko7ieiI7RF9i PALw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=R5XKkaJJgp6PI66vAZRzG/L1rF+jCNKmRlhdkWe/3sI=; b=kINqZjrlhY8rF5UGamQ0tKRiUNA6suys4kfJpxtg+T1td/gvOt7mLzeRrAJTx2EkvB XHHzBjoX+HFEd+GAvOxoXh6LQAn/S1MdpXyHvFu/SkEJryMbEF5x5ax6uxXd2FtsS2Qc VJSAsoWK1nG0SXiJJO/RaDZIogxjqxpyhE+IYWgnm495h5DebD+fRM85bUTFIxNXEqPV a3NGovM8LjPYS3ktXHq1pvuQbjArdzEdJXjs/ajGw2fGprep4AgeTAnddTZSFwQTrFo7 rtUOi2z0IFQLSFuF9flsgFJE8wG6yl8QRbukatuWRh/aC8qKEY4SO7uQwRdHYKGRbFbA 61/w== X-Gm-Message-State: AO0yUKVCCGiiR/rz2Dm11TyZdX9SPbtz/QQvINoYqlYzpud4WAJ93l9Q UiWj98UwEZJWAV0HHKUTJytZTu7cQkTCpiAUtwwhkg== X-Google-Smtp-Source: AK7set8c3A32Kt3SHTmLrG7RLq1yYuosrJMmJyXJjqbDZKddvq030aZDwtCyRdzRMRX0h8pplUGhG8u2Tz7Eb2IbJNY= X-Received: by 2002:a17:906:c449:b0:878:4ee0:7ded with SMTP id ck9-20020a170906c44900b008784ee07dedmr3013970ejb.9.1674966940240; Sat, 28 Jan 2023 20:35:40 -0800 (PST) MIME-Version: 1.0 References: <0dc71450-d082-93da-52f8-d4e6b97199af@eastlink.ca> <3ea702de-f818-adbb-c55b-e585f8deb10f@eastlink.ca> <1a232406-ad76-b661-496b-974ddf8e67fe@ckhb.org> <8f626e62-312f-06fa-d073-5910d1aba3ad@eastlink.ca> <4993b3f3-3b71-fb80-fd60-3e72170989f2@eastlink.ca> <562e5e2d-44ff-0402-61ff-b621edecf116@eastlink.ca> In-Reply-To: <562e5e2d-44ff-0402-61ff-b621edecf116@eastlink.ca> From: Bart Schaefer Date: Sat, 28 Jan 2023 20:35:27 -0800 Message-ID: Subject: Re: path PATH To: Ray Andrews Cc: zsh-users@zsh.org Content-Type: text/plain; charset="UTF-8" X-Seq: 28844 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 Sat, Jan 28, 2023 at 7:45 PM Ray Andrews wrote: > > I don't get it Bart, you and Roman > provided a very nice function and at the same time you're speaking as > if there was nothing for it to do. It's the other way around. The function gave you what you want, so there's nothing for a built-in to the shell to do. If NO function could give you what you wanted, that's a different question. E.g., it's a valid point that a parameter declared with "typeset -E" could be more accurately described by $parameters / ${(t)var}, or that justification width could be more obviously obtainable than just "typeset +m", or even that the documentation could do a better job of relating ${(t)var} to the options of "typeset" (I've submitted a patch for that last, incidentally).