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 17342 invoked from network); 24 Sep 2023 07:32:27 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 24 Sep 2023 07:32:27 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1695540747; b=BlqagJEn/6UX9Nx9LMDZHq/6mvFT4EjLSQmH0BMsY1RqOML3oo8n+beNuaFkWw/1RZihPSa+gq 2KGbSTL0vIeNyEZPZRQg/43fYVvh2O+CdwF/8IU5lDSXkPgnOHbH8Del4t3Nw3Dgt1Jn8OEKxF hhOueXLYYiIq6QO0j/tErGKfLEzTRjtZitv1I+bzqhZs6x4agRxJqWwFratRLOY1lMe9BxQnNV +qIUzffngM+0+2m4vUbmjwqu0791Bd8oXcamfSTG1mtjk8iLZADXd+XCfP0K7qjrVWWUj1u4vW uXHpHnbTiVulxJc2AfcpoNs3oxiGg+LHBDyvqxRpzgc+mA==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (s1.jo-so.de) smtp.remote-ip=37.221.195.157; dmarc=none header.from=jo-so.de; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1695540747; bh=GPdwNRimoXsDiO1V80TYgQ70oxVuZsA2uLCApXkZLLc=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:In-Reply-To:Content-Type:MIME-Version:References:Message-ID: Subject:Cc:To:From:Date:DKIM-Signature; b=JdsWuP4mnczVz6xvdZ641F8/E9A0/d5LgAmAbgYY1w/Z0QOrV+Y9JYAycMRSudwl8BmdpSm2Cp jFyboWsJCgYyuUg1utwRBkBX0exXXF1jBdgYzPUC6e7wqAgLJ9Ml90CWguv3jV2dU9OlBMQzpB yjWV0gTztUd0UKWMUCLRhbXbhr07cdwsS0beEsVStuqBytFB+STU4mfFv/onTvPFKZPo2prlAN wNm43UWxzUJro/LPuIhJ4bHCQiQLCX/Pmm4YbdTZGTqqAnQ8+I0QDNGBIXIY1Nf6OIGiVgw+wC PTNLwKkKgiEWlRxSSsZUQz4FUJaPVsPifOYrh2zc3WTcyg==; 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:In-Reply-To:Content-Type:MIME-Version :References:Message-ID:Subject:Cc:To:From:Date:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=GPdwNRimoXsDiO1V80TYgQ70oxVuZsA2uLCApXkZLLc=; b=dO+IoPadDLQ8Td760mPPS8k3lJ vsUVQbDlIT8XYe8mFrU0sbo9FrM6363mehqoregtmEuvFinnC/8q2fUAYAeVtcot8SDwAKzGeYWAK swoXty5Nur5UNRlkRgypvlIrautLUHaeFDSQcRyZ0aiD1VnVIL/2gJrEWKQBXulmEMik7c1s1yVqB 8ALJNGZ1SBNm86t6o9wGbtU7e8Ho0ulntPUoJ7LKH0KUiDVgkPPAkRJfO7R9Ik78qXdyiXsv8FzHL qNYPsMlKlZ/m91xmNxGyHQWniHrRwvmO10ccLEmmZ5j/uMpFikLbLK5x9eLDn4TWt1GNzqZyRZcfN UqYaLD1A==; Received: by zero.zsh.org with local id 1qkJbM-00044q-OQ; Sun, 24 Sep 2023 07:32:24 +0000 Authentication-Results: zsh.org; iprev=pass (s1.jo-so.de) smtp.remote-ip=37.221.195.157; dmarc=none header.from=jo-so.de; arc=none Received: from s1.jo-so.de ([37.221.195.157]:37043) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1qkJb3-0003lY-GU; Sun, 24 Sep 2023 07:32:06 +0000 Received: from mail-relay (helo=jo-so.de) by s1.jo-so.de with local-bsmtp (Exim 4.96) (envelope-from ) id 1qkJb2-002HEd-2Y; Sun, 24 Sep 2023 09:32:04 +0200 Received: from joerg by zenbook.jo-so.de with local (Exim 4.97-RC0) (envelope-from ) id 1qkJas-00000000aU6-0MeN; Sun, 24 Sep 2023 09:31:54 +0200 Date: Sun, 24 Sep 2023 09:31:54 +0200 From: =?utf-8?B?SsO2cmc=?= Sommer To: Bart Schaefer Cc: Oliver Kiddle , zsh-workers@zsh.org Subject: Re: [PATCH v2] run-help for docker, perf, podman, ssh, svnadmin Message-ID: <20230924073154.m2emhhu4fdaieflo@jo-so.de> OpenPGP: id=7D2C9A23D1AEA375; url=https://jo-so.de/pgp-key.txt; preference=signencrypt References: <76b5e42c740593dc2598514175203d8e3f9bd6ef.1685555157.git.joerg@jo-so.de> <38862-1695249714.491344@RvQZ.ZQmW.9EO8> <20230923071652.sw5x35fqddzz473f@jo-so.de> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="6mjqousczmvsdd4v" Content-Disposition: inline In-Reply-To: X-Seq: 52186 Archived-At: X-Loop: zsh-workers@zsh.org Errors-To: zsh-workers-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-workers-request@zsh.org X-no-archive: yes List-Id: List-Help: , List-Subscribe: , List-Unsubscribe: , List-Post: List-Owner: List-Archive: --6mjqousczmvsdd4v Content-Type: text/plain; protected-headers=v1; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Subject: Re: [PATCH v2] run-help for docker, perf, podman, ssh, svnadmin MIME-Version: 1.0 Bart Schaefer schrieb am Sa 23. Sep, 10:57 (-0500): > On Sat, Sep 23, 2023 at 2:17=E2=80=AFAM J=C3=B6rg Sommer = wrote: > > > > Oliver Kiddle schrieb am Do 21. Sep, 00:41 (+0200): > > > The other was 51746 which did elicit a couple of less than enthusiast= ic > > > replies. > > > > I guess you talk about =E2=80=9Crun-help: Support variables in aliases= =E2=80=9D. This > > discussion was entrenched and no solution was found. >=20 > Returning to that below ... meanwhile: >=20 > > I still have the > > problem of > > > > ``` > > % unalias run-help > > % autoload run-help > > % alias tt1=3D'LC_ALL=3DC true' tt2=3Dtrue > > % run-help tt2 > > tt2 is an alias for true > > % run-help tt1 > > tt1 is an alias for LC_ALL=3DC true > > LC_ALL=3DC not found > > No manual entry for LC_ALL=3DC > > ``` >=20 > This works for me in the current dev version, that is, after > workers/51593 is applied. This would be sufficient for me, because I can substitute the variable assignment in the alias definition. > What continues not to work is your original example of an alias that > invokes another alias, where the first alias is nothing but an assignment: >=20 > > zenbook% alias LCC=3D'LC_ALL=3DC'; alias T=3D'LCC true' > > zenbook% run-help T > > No manual entry for T > > ``` The alias LCC I use mostly interactively and put it in all other alias definitions only for convenience. But in the zshrc I can use a variable which expands on definition. Regards J=C3=B6rg --=20 chinesiches Sprichwort: Wer fragt, ist ein Narr f=C3=BCr f=C3=BCnf Minuten. Wer nicht fragt, ist ein Narr f=C3=BCrs ganze Leben. --6mjqousczmvsdd4v Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iJMEAREIADsWIQS1pYxd0T/67YejVyF9LJoj0a6jdQUCZQ/l6B0YaHR0cHM6Ly9q by1zby5kZS9wZ3Ata2V5LnR4dAAKCRB9LJoj0a6jdWuUAPsFQOHjx6F3JPSWw6Sg SZx9ED4QSkZs6ByFQZBUgW82sAD/Yb2K29jmyRHw1zavwRhh6K8pPulRLwViqtEc FjtBL8I= =RVSk -----END PGP SIGNATURE----- --6mjqousczmvsdd4v--