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 17990 invoked from network); 30 Aug 2021 23:35:05 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 30 Aug 2021 23:35:05 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1630366505; b=nzglzrJbvYy1vxs/cQkVt4v4+MLsMD1a2u0V9xaSSPiDtM6RMzdx4AkRZTdt1Y0ECZJMWRCu6d rtGGMkYyCgS3fKUx8B9Y1VHn3opSsLhNL0YtLq67T3TMmKhQDn03oxl0I0cr6XTOhcBDRpYn5a hb0LzuE5OVyU36VHC/8e5XGDgIoA8xqfWkVMigmPM4Zvaw6h3nZU54jGCp7nO6OxCOENcuelnf pkVa9DPeY2xpWp81fyMV4ZEXtX1VZ6D57L7Yjdaf3iZj0Ki42DInjYabiDqBp+gVVictjxl+17 UgkU6T5jOF2u9ZY0b4qbkqSvGGYTNb7f6tUuh/Bv33syHg==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mta02.eastlink.ca) smtp.remote-ip=24.224.136.13; 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=1630366505; bh=7Wf1i2kbBhgt+WOBZxTIdvqBP95lduUiY8E715+DfjU=; 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=dHs7f04FEYTNn1iw1phGo6NkxH9Ef6Ietu4rqamJwB7oBALMQE4iaFEA5OuCmkIqQfipq1+sAd M3qLVHnkbWfEY1Oz3nYjrSHIxzEnZG1rVSypizwxIzIuR1pSaYmqv/m00gIGRXBxccKaO3uLoh RpbL8t158HiB9zg8tikxbtVdiPLz+KjOTUL49R9gMuVittabsxQlkqfJzZdwhl+5Q5+bOct7Pk wGYCqCJcmxTpcckNOFmQGxfPMT6iBF4VB7rVp7rQ0NHz2ar6RZCWRL8nvPpfL3bthlrXkoqQ6w Y4v0Oie2q46RT+eHgXs1OO6lhVuN3ZDDXlLxBJJiPs3JyA==; 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=5PXu1f8qirpRTa3liO28tsH4cQpy0RxxtVZu174afa0=; b=cyfqLfSWBGlcd3NsdUm5GAH7+a Lpo0i4b+ujOztQCikFmkoIrjMUT0QwIbSO11qxUkUperNxFuroAm65p6pcHerOwjx5R+Owt2WW2sZ 4Xa4J4Q63Q69KGwH1vf/Rl/e5Fmem3+hM3Jo5wGR3s73jwfWFNnoXETtiDHAtzNYsYP9iD77N3BnR bvQHA1yLH7L6yZar3D509awhSh/sw/b1sEG8MCBWcpWi5R0f2RxT/M1uhU2EJzzxfPCP/Fn0GbmDf RnP5dIduXf9NklKGKYk4oAdOpQ3G2b0M/nILuUUGqdj0JJqo5ABrFh44ZHpJ04rs1mKyRc4UfFkpM BKwMK5BQ==; Received: from authenticated user by zero.zsh.org with local id 1mKqnw-000GQP-9k; Mon, 30 Aug 2021 23:35:04 +0000 Authentication-Results: zsh.org; iprev=pass (mta02.eastlink.ca) smtp.remote-ip=24.224.136.13; dmarc=none header.from=eastlink.ca; arc=none Received: from mta02.eastlink.ca ([24.224.136.13]:59173) by zero.zsh.org with esmtps (TLS1.2:ECDHE-RSA-AES128-GCM-SHA256:128) id 1mKqnI-000FhC-Of; Mon, 30 Aug 2021 23:34:25 +0000 Received: from csp01.eastlink.ca ([71.7.199.166]) by mta02.eastlink.ca (Oracle Communications Messaging Server 8.0.2.2.20180531 64bit (built May 31 2018)) with ESMTPS id <0QYO00CXEEGZ6M71@mta02.eastlink.ca> for zsh-users@zsh.org; Mon, 30 Aug 2021 20:34:23 -0300 (ADT) Received: from [192.168.0.2] ([24.207.90.194]) by Eastlink with ESMTP id KqnGm1x3ZVz4DKqnGmpKei; Mon, 30 Aug 2021 20:34:23 -0300 X-Authority-Analysis: v=2.4 cv=c59u/Txl c=1 sm=1 tr=0 ts=612d6aff a=zv49KfEsxEDzuN5AGO7r0Q==:117 a=zv49KfEsxEDzuN5AGO7r0Q==:17 a=IkcTkHD0fZMA:10 a=j8U9EnTtzdVSIfsWYIcA:9 a=QEXdDO2ut3YA:10 X-Vade-Cause: gggruggvucftvghtrhhoucdtuddrgedvtddruddvtddgvdefucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecugfetuffvnffkpffmpdfqfgfvnecuuegrihhlohhuthemuceftddtnecunecujfgurhepuffvfhfhkffffgggjggtgfesthekredttdefjeenucfhrhhomheptfgrhicutehnughrvgifshcuoehrrgihrghnughrvgifshesvggrshhtlhhinhhkrdgtrgeqnecuggftrfgrthhtvghrnhepkedvueeuffefhfdvueeiteffvddtvdejgeeujeekieduheeiteeiheegtedvhfefnecukfhppedvgedrvddtjedrledtrdduleegnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepvdegrddvtdejrdeltddrudelgedphhgvlhhopegludelvddrudeikedrtddrvdgnpdhmrghilhhfrhhomheprhgrhigrnhgurhgvfihssegvrghsthhlihhnkhdrtggrpdhrtghpthhtohepiihshhdquhhsvghrshesiihshhdrohhrghdpghgvthdqkghiphfrrghsshifugepthhruhgv 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> From: Ray Andrews Message-id: <778f6e74-a4c5-4f3f-3282-ca3cce4d9867@eastlink.ca> Date: Mon, 30 Aug 2021 16:34:22 -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: <776abe09c579095258b2eef28a7ad5ca@dondley.com> Content-type: text/plain; charset=utf-8; format=flowed Content-transfer-encoding: 8bit Content-language: en-US X-Seq: 27006 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 4:22 p.m., Steve Dondley wrote: > > Yes, I spent about 2 hours today figuring out how to get my old bash > functions automatically loaded. Previously, I was just using 'source' > to load the old bash files which, from what I gathered, is not the > best way with zsh. That's all I ever do.  They're scripts, so you source them.  I'm unfamiliar with bash, but just off hand, I'm wondering what else *but* source them would even be possible.   Except for the automatically called files of course which will automatically be sourced if they exist. > > Now you've got me wondering. While I was bumbling around today, I > noticed I had an ~/.oh-my-zsh/.zshrc file. I'm only using the ~/.zshrc > file, though. It has just one line: > ZSH_THEME="powerlevel9k/powerlevel9k". I'm guessing that's the default > because I don't remember editing it. Personally I just hate all the automatic stuff, you have files being accessed that you might not even know exist.  Fine for the adept of course, but when I was learning zsh I killed all of them just so I could be sure of what was going on. > > So what is the "real" .zszhrc supposed to be? The docs are pretty readable as to the startup protocols, but at the very least '.zshrc' should be in your home directory.  God knows what oh-my-zsh does.  Never used it, but around here the feeling one gets is that it's not the fashion -- reputation is that it's too much desert and not enough dinner if you get me.  My own philosophy is to keep things a simple as possible.  I end up saying 'oh my!' enough as it is ;-)