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 10825 invoked from network); 30 Aug 2021 22:27:52 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 30 Aug 2021 22:27:52 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1630362472; b=KlbKilrAQDYqFs4cos3UaiB/+ya6AJpGDFD9jr4lJANO6d4EuFYras3FQniMPLWTueXVugtL5J yw2z6rEFFggTa1sKXHtXoTPyoRLoBmzPZx5lnovCtCtnKDlKgE57Wmaw9s7uYKcnTSGpyWNcZM RXXBz8W526vSinjG12yysuTrRkCli62JRmmu8DLxoJLkImmPTu7dKEcr3Qpe2lv5ASoeEnivm7 MqXm0R8g8F+4ehGFB7vkBptCtwyXcLVOxwboXVi13vMLC4Vclr/6oueNQDAkmUpDY207C6mWVg YA911zj50ei0oN/cp4F/aB+lF2dBALRNcuUrGqxYsr0QSA==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mta03.eastlink.ca) smtp.remote-ip=24.224.136.9; 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=1630362472; bh=fQn/eCN4EngFmgxG3N8KT+b7iIz/v08xl087ZgAdLC0=; 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=pFLuHo20+0ocNW6U+P4ZT/ilwFN6T38UGacCDGv5+fDcNV1uX5GZDCyFLo+spRn2TAZkehzCjF EGJ4u/B3NXOc5ac99+qFP7vgvH7t+Y26pNOvjZHUZTKbZJSHmko2qrR171rApxWMwSUBz4Vza8 xnQ3hIeCaqyDdJZDYyd0ZsoLWpK4PX1Gon0ZGzpPJ5u2O9+9B/yZiKzOkLl5qMifhPsUGK2EqJ 7gvPvo+Gnstk4/0jp2MTKGdP77z/bB5Kl4Cwxgbreyo8ZrxWXSVND3X233+NipCozm5gPJYmaW rTeu44Hii1UcM4HQt7syjhkNmiLYEiIUK98WXhj/MaLqCQ==; 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=VbS/T4pbu0lXwXp+YHKzeTNHu9SP04uW9RhGoHXCIBs=; b=DrUYfKFbmApoqTiMV/uNC+wJYR Biry6Ez1ngu1eJ4lXv1YiJ3OcTQCn9g/g981JrZCI0EdXrsSoK1MJ3a2Uy6o8HayozCPdhg018OrB QOmZGG8GyPGFCYJzU/Ac1mB9eX+ClH6sbtAgn7tNC+CSJvP7J88S7PefUdXy2/3oTgJgY1HU7XRuw 0pRAlWj9fXZCwCnorrTB6Q6zTKjMiuDtF1Ry5yi8EMQb6tM6CpL+j+Cp/Ve6pH5W0jshaqgD+cu2m G5V1ZXP1Tw651yQMlRlcvsUUIaPjku00VtIkFOOoRloA8piauxdPqlxcaGTg3JdwdsZIo9mEYvN43 R78YMuIg==; Received: from authenticated user by zero.zsh.org with local id 1mKpku-000BPY-18; Mon, 30 Aug 2021 22:27:52 +0000 Authentication-Results: zsh.org; iprev=pass (mta03.eastlink.ca) smtp.remote-ip=24.224.136.9; dmarc=none header.from=eastlink.ca; arc=none Received: from mta03.eastlink.ca ([24.224.136.9]:42387) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128) id 1mKpkQ-000AiB-QV; Mon, 30 Aug 2021 22:27:23 +0000 Received: from csp02.eastlink.ca ([71.7.199.167]) by mta03.eastlink.ca (Oracle Communications Messaging Server 8.0.2.2.20180531 64bit (built May 31 2018)) with ESMTPS id <0QYN00G1VT2WYQJ0@mta03.eastlink.ca> for zsh-users@zsh.org; Mon, 30 Aug 2021 19:27:21 -0300 (ADT) Received: from [192.168.0.2] ([24.207.90.194]) by Eastlink with ESMTP id KpkOmQtq0o387KpkPmHvkW; Mon, 30 Aug 2021 19:27:21 -0300 X-Authority-Analysis: v=2.4 cv=QdajAuXv c=1 sm=1 tr=0 ts=612d5b49 a=zv49KfEsxEDzuN5AGO7r0Q==:117 a=zv49KfEsxEDzuN5AGO7r0Q==:17 a=IkcTkHD0fZMA:10 a=bNvghT7CYJOJTYbcovAA:9 a=QEXdDO2ut3YA:10 X-Vade-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddruddvtddgtdelucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecugfetuffvnffkpffmpdfqfgfvnecuuegrihhlohhuthemuceftddtnecunecujfgurhepuffvfhfhkffffgggjggtgfesthekredttdefjeenucfhrhhomheptfgrhicutehnughrvgifshcuoehrrgihrghnughrvgifshesvggrshhtlhhinhhkrdgtrgeqnecuggftrfgrthhtvghrnhepkedvueeuffefhfdvueeiteffvddtvdejgeeujeekieduheeiteeiheegtedvhfefnecukfhppedvgedrvddtjedrledtrdduleegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepvdegrddvtdejrdeltddrudelgedphhgvlhhopegludelvddrudeikedrtddrvdgnpdhmrghilhhfrhhomheprhgrhigrnhgurhgvfihssegvrghsthhlihhnkhdrtggrpdhrtghpthhtohepiihshhdquhhsvghrshesiihshhdrohhrghdpghgvthdqkghiphfrrghsshifugepthhruhgv 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> From: Ray Andrews Message-id: Date: Mon, 30 Aug 2021 15:27:20 -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: <41fa241f119fdb9b8598293aad345823@dondley.com> Content-type: text/plain; charset=utf-8; format=flowed Content-transfer-encoding: 8bit Content-language: en-US X-Seq: 27004 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-08-30 11:13 a.m., Steve Dondley wrote: > > Now I'm wondering if there is some similar mechanism for adding > aliases with ohmyzsh. If not, what's everyone else doing who has a > couple hundred aliases. Are you just throwing them all into .zshrc or > doing something to help manage all your aliases? I'm the least qualified guy on the list, but I can tell you that you can take advantage of all the built in complexities that zsh offers or you can make it as dead simple as you desire.   Me, I have just the one automatically looked for file '.zshrc' in the home directory which points to my 'real' zshrc which in turn loads all sorts of subsidiary files organized however one might desire, and yes one of them contains all my aliases.   Just organize things as you wish.