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.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 712 invoked from network); 31 Aug 2021 01:45:06 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 31 Aug 2021 01:45:06 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1630374306; b=La6Sz6HzIDy72vcfgI6dZQGJ+/yqMjnl5O5FmTEQGFNT8dRyg4Vfn+JuHUqhW+K9V6573MBqTA bgTIsAUD3mwgqdoyfTAEknD4TBh02sZTWUwBrsSOdRW/HyDfca8NAdCkKdp8ayzR4vYfmw2P39 4ylKMAajSgZFqgc7EL4NeqayBXHOEJ52YZh+fTtoPBl3ewJX8XcJKfRKACjUR9SaHIKNhU09Eu rZt47+eaJXqDjgY/zOaYy+7yNS3RZUxkiM2xb3uSmbX3scNr6dzry25banQ+qKz3PW8Hsi3D/f LHawbYCHe9IPHlVMvj+SHBzie8XgF2ipkeWyk3Owrrdvyw==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (email.dondley.com) smtp.remote-ip=34.203.132.18; dkim=pass header.d=dondley.com header.s=default header.a=rsa-sha256; dmarc=pass header.from=dondley.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1630374306; bh=D4rXaDC/nR9A/217DUrPZGDzQp4mRNebwu3mCwu2IUk=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:Message-ID:References: In-Reply-To:Subject:To:From:Date:MIME-Version:DKIM-Signature:DKIM-Signature; b=RXUm8NqHBXrFYL4YKrrHCjVdZaQ3drCrHOKpNLuFdtlaVpxb+Xp+1jKtJUfHPCzEuVzTOjNW2L CCvIT51C2W5xRC0+X5fdjTRN6Ls7UgG78k6eVTS+qCaldrCaFhwIcmYQLFSOrjG7CGcT2FyUaV jFVt0DCyXiawtkDoJzR6HEr/FtjBmOJHskscVxIQIbhIsVBkSJUnPippwmrLO4USsOESlCHtc1 2dCZ7gTcWaZqOI4N3mktwXMk4lyct1EemVU4Ni5j3b9TW10SmAJSOzDpsx4mL+QziEBBKDUntp hJvFB09iPLzdP5GszflnQ7m852uUclIXL+j+1fs1dQLMEQ==; 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:Message-ID:References:In-Reply-To:Subject:To:From:Date: MIME-Version:Reply-To:Cc:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=7CQaf7Yo533dkvVZHd3uwxflmJIaUHIX7iCCqu4rA04=; b=OwmmqK6a2HS8vCk703pRUKIXGF TujmCE5qEvjl4uihGmWd22ueTQAvBJLV7Czj/MaPMC4cVcfHj8Xr3vNtIqfgKwr5B3MNRhuXfTx5O Ddb5EkbETr5RRztDyCqr6UgfODmfUMkQ8QujH7ihiTzjbjHdlj/gV66h3t8eJkIUsQ0iqZofmgAUg AVjfuMdwbahxlCiRX8KYksSSMmQfgW/J5jDO1KwuTQq43d6WyPyGH4oymDgHR63fc0/Nuk9uBSSGa vplbxZ4M+aU7crgTMHWuU5jvOpdoI6yM7QorDElxSLMv63adRVfvozfNZoriaVDgEaYIWXnTK7x/t cRYYGHTw==; Received: from authenticated user by zero.zsh.org with local id 1mKspk-0001U3-MD; Tue, 31 Aug 2021 01:45:04 +0000 Authentication-Results: zsh.org; iprev=pass (email.dondley.com) smtp.remote-ip=34.203.132.18; dkim=pass header.d=dondley.com header.s=default header.a=rsa-sha256; dmarc=pass header.from=dondley.com; arc=none Received: from email.dondley.com ([34.203.132.18]:44520) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_256_GCM_SHA384:256) id 1mKsoy-0000jG-KR; Tue, 31 Aug 2021 01:44:17 +0000 Received: from email.dondley.com (email.dondley.com [34.203.132.18]) by email.dondley.com (Postfix) with ESMTPSA id 9E88C208BD for ; Mon, 30 Aug 2021 21:44:14 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=dondley.com; s=default; t=1630374254; bh=D4rXaDC/nR9A/217DUrPZGDzQp4mRNebwu3mCwu2IUk=; h=Date:From:To:Subject:In-Reply-To:References:From; b=0ug60XQF7UFCpy0TxbueMNOaox6pK+WmFNywlXtdXc3D1BpFg5HD6emB61sKnCwWi qi/dqyr2ziP0F8Xz644iakviHHXFl4Gnlo0gR6C93YwknhMMlAo0d7AeOglzPODhHE k27la3/89b0053I6NfK9iwDXLi8h+dq1nSdSLsop/ZVRj6e1jF0wSSOOPPFHnGPapW OX5Fxt7hcxoDieOqoTAMkaHNAIe50NMTHYT8V2R2AtvJGLuf7NdPMnqbsoEGthwf39 yFbUaQvPI5b4PuNysOdS6+gcOa0NJvHLdz+98eytR/37aLdj9PZuezRyXBEh1sXKmY 1469tobPZiDSg== MIME-Version: 1.0 Date: Mon, 30 Aug 2021 21:44:14 -0400 From: Steve Dondley To: zsh-users@zsh.org Subject: Re: Best practices for managing aliases in ohmyzsh? In-Reply-To: <778f6e74-a4c5-4f3f-3282-ca3cce4d9867@eastlink.ca> References: <41fa241f119fdb9b8598293aad345823@dondley.com> <776abe09c579095258b2eef28a7ad5ca@dondley.com> <778f6e74-a4c5-4f3f-3282-ca3cce4d9867@eastlink.ca> User-Agent: Dondley Message-ID: <81175b1449b744ba3dfd9150b2544750@dondley.com> X-Sender: s@dondley.com Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Seq: 27010 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: > 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. My understanding is that if you use the autoload feature, the functions are only loaded on an as-needed basis. That's not something I really need but I figured it may come in handy as I write a bunch of new functions. Plus I was just curious about to see how it worked for future reference. > 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. For me, part of the fun (and frustration) is figuring out what these more advanced systems can do. On the other hand, it's definitely nice to know exactly how exactly how a simpler setup works so you aren't trying to reverse-engineer mysterious behavior. >> 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 ;-) OK, good to know. Wasn't sure if I was out to lunch. And I just reread the ohmzsh install instructions and it says to place .zshrc in the home directory so it sounds likes I'm good. Thanks!