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=-4.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, MAILING_LIST_MULTI,NICE_REPLY_A,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 20056 invoked from network); 1 Sep 2021 19:12:40 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 1 Sep 2021 19:12:40 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1630523560; b=q2JJIRyfmJ11LwrtzpxRKrfQ3B8OCBWNeIj3Hvbwk3CeLUdebXUPz3mfvjYs9rHoeVHK2gFgKL tWStIrDvUbnB5N3hHmYXs28Xa8nb9zDGdZLz1hHCqtVFq+zmZXtV8P8cPhKwbLH4CjzVQsj/OK N7vlq8TkwMKVhWAaLagfKogjgqWHJOK64eSoH1rly3LvimX7xmtQdhvoCH5PwnQzR5ZFMjcre8 9GCk3icT2U9s3+LV+XFH0fBGouDnGaF1PMyl0GY2HNHfcL0oHuOH+DnLNSnWsz8j0xuVuI4BtF tY9R1yHR5CtQCI7E8e51kbcQ9I7wLWKDeveFiBaZgP7aJg==; 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=1630523560; bh=2SV/566BsRulGMAm8UJM5O9EOq+ptWTivEJUSC/AjPA=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:In-Reply-To: MIME-Version:Date:Message-ID:From:References:To:Subject:DKIM-Signature; b=n3I74WLv4vAO+F0wV+tn2GBooInyY5Ebd3kFhm1kyGGfp8VFgOE3BPxwizPt1tTPCuijZTQ7Sc etLiyOHwHlgEMbsraCPrMNI3wR0YpsBxdKTjwFa2z0yp2HItMt0hd6VLMAwYn+MAkfJNbo+hzX t6P+F8cBsv4+azK8LE5SYY5ELbifzixCqsMxRgI5lSrsN4q1/B2uRP2syMlXTV6CIt97xAWdiI iAdxcjhht/0nTkYpEU3pvWnhDhAu6C+gVTIm0ztKQa2gR+w3FoVHGkDUHrdzCXKubkorstA0WF qMOziuiO1/kwSxAcElsNyxtniKzsriwpsoujqHrYMuGtbA==; 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:MIME-version:Date:Message-id:From:References:To: Subject:Reply-To:Cc:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=vh2mWmZIFcaEtpfD25UZ2shM3B1xxrshrELPzpPmNMo=; b=G7nMt9Varwx5bByTNJJhZtqatK oVbAsZmVOlvJoVg2oJBVVeWvaWB7/TbyDlcgu0jDeBWYJAVHS239u0LaEdL7w3A+AkQLfuwHMBGCI tJCjZoaVdk4tr1/R70gniTgapj8LBtb3/gePB3lYnsDShvGzdnzyfdxwJrcaol3mAzg4jg8mIt7/g 07Lc13ElKbWZPT7pfe5HXKHA0DHoxW02mJNShuKcxCQwJSpFR3yHQaT4sHCpZUgGYoLAgPH0nSzCu ZGlGI46IGPIJUPx6LdmWiYJqiUHCTZK7bJwTwQ78/2TL3caAGkLYQELYSulfaDw1fD0ztbN1EkGgG fFX9qmUA==; Received: from authenticated user by zero.zsh.org with local id 1mLVf5-000Li8-Oe; Wed, 01 Sep 2021 19:12:39 +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]:51944) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128) id 1mLVeK-000Kyk-H0; Wed, 01 Sep 2021 19:11:53 +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 <0QYR002ZKPLL5LB1@mta01.eastlink.ca> for zsh-users@zsh.org; Wed, 01 Sep 2021 16:11:51 -0300 (ADT) Received: from [192.168.0.2] ([24.207.90.194]) by Eastlink with ESMTP id LVeImW7rfo387LVeImJhgp; Wed, 01 Sep 2021 16:11:51 -0300 X-Authority-Analysis: v=2.4 cv=QdajAuXv c=1 sm=1 tr=0 ts=612fd077 a=zv49KfEsxEDzuN5AGO7r0Q==:117 a=zv49KfEsxEDzuN5AGO7r0Q==:17 a=IkcTkHD0fZMA:10 a=dZMFJRZpAAAA:8 a=TXM8pw726cJHc4RI9BkA:9 a=QEXdDO2ut3YA:10 a=0ALrU5orTrKXcsu2oHG6:22 X-Vade-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddruddvfedgudeffecutefuodetggdotefrodftvfcurfhrohhfihhlvgemucfgtefuvffnkffpmfdpqfgfvfenuceurghilhhouhhtmecufedttdenucenucfjughrpefuvfhfhffkffgfgggjtgfgsehtkeertddtfeejnecuhfhrohhmpeftrgihucetnhgurhgvfihsuceorhgrhigrnhgurhgvfihssegvrghsthhlihhnkhdrtggrqeenucggtffrrghtthgvrhhnpeejleelheefteeivdevleeffeffudejhfdtffejkeehtddtfffhuefffefggfehudenucffohhmrghinhepfihoohhlvggughgvrdhorhhgnecukfhppedvgedrvddtjedrledtrdduleegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepvdegrddvtdejrdeltddrudelgedphhgvlhhopegludelvddrudeikedrtddrvdgnpdhmrghilhhfrhhomheprhgrhigrnhgurhgvfihssegvrghsthhlihhnkhdrtggrpdhrtghpthhtohepiihshhdquhhsvghrshesiihshhdrohhrghdpghgvthdqkghiphfrrghsshifugepthhruhgv X-Vade-Score: 0 X-Vade-State: 0 X-EL-IP-NOAUTH: 24.207.90.194 Subject: Re: Best practices for managing aliases in ohmyzsh? To: zsh-users@zsh.org References: <41fa241f119fdb9b8598293aad345823@dondley.com> <776abe09c579095258b2eef28a7ad5ca@dondley.com> <1ee1545904fdc1b5f473460cddfe5000@dondley.com> <29064969-76d0-48a1-cb4a-719a9acaab29@eastlink.ca> <7248837b-fe22-4faa-8f2a-4e62973d5f91@www.fastmail.com> From: Ray Andrews Message-id: <7ed02d4d-a7b8-e457-f814-dc88e1cf5c35@eastlink.ca> Date: Wed, 1 Sep 2021 12:11:50 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.13.0 MIME-version: 1.0 In-reply-to: <7248837b-fe22-4faa-8f2a-4e62973d5f91@www.fastmail.com> Content-type: text/plain; charset=utf-8; format=flowed Content-transfer-encoding: 8bit Content-language: en-US X-Seq: 27056 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 2021-09-01 11:22 a.m., Lawrence Velázquez wrote: > No. Those commands do work. You are either invoking the example > incorrectly or testing the results incorrectly. > https://mywiki.wooledge.org/BashFAQ/060  Of course.  Like a sourced script, an 'executable' creates it's own fresh environment.  Doh.   I really should have figured that out. But ... Roman said it wouldn't work which is why I was primed to find it didn't work.  So there's still a loose thread.