From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15109 invoked by alias); 20 Mar 2013 21:26:39 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 17723 Received: (qmail 13077 invoked from network); 20 Mar 2013 21:26:28 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.6 required=5.0 tests=BAYES_00,DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,HTML_MESSAGE,NML_ADSP_CUSTOM_MED,RCVD_IN_DNSWL_LOW, T_DKIM_INVALID,T_TO_NO_BRKTS_FREEMAIL autolearn=no version=3.3.2 Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.210.182 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:mime-version:in-reply-to:references:from:date:message-id :subject:to:content-type; bh=ssxkgESsHltXoGVUnVy8ZMTOK24IdXZwNnHlXpshUYc=; b=Ia2rg63s3UDUbxfy4//k0oEopBsBIQ8+B8P7qz+yw3GmUqzTVByyci1yHitdi3gSus 4M2xIWEJ3BnaVkcVRvGIOhO9v+dk8OZkXU2gZUYu5p5X8GC2pmX6dMK8wq59WfBd+k3C AIq3i20L3Usoz647GIUGqhJzwXD+MJNt90/NiYXvBH3FGSQwZ3Djs03iWi3oa0CAuvd2 x4/gcCY9CHyHQsgKbKnvC3OJfC0HHbqEXL3UJe1q1zDfz4gc9f6DKwKk3Cla8n7aFIW7 fTF9EIzHs1dZbIOYqMxwD7l1GQJ/rftd7XxSxqn1f3GSaqO3btLjVRmriFh6d0l2BCjt uXRg== X-Received: by 10.50.7.211 with SMTP id l19mr460740iga.53.1363814781354; Wed, 20 Mar 2013 14:26:21 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20130320205509.GD89285@phisen.local> References: <20130320205509.GD89285@phisen.local> From: TJ Luoma Date: Wed, 20 Mar 2013 17:25:41 -0400 Message-ID: Subject: Re: Please implement auto-handling of ${HOME}/.zsh/ To: zsh-users@zsh.org Content-Type: multipart/alternative; boundary=f46d0447f30c95394304d861df7e --f46d0447f30c95394304d861df7e Content-Type: text/plain; charset=UTF-8 On Wed, Mar 20, 2013 at 4:55 PM, Paul Hoffman wrote: > On Wed, Mar 20, 2013 at 07:16:39PM +0000, Larry Schrof wrote: > > I have been dying for this for many years. I have a ton of zsh configs, > > so I like to organize them in ~/.zsh/ , but here's the problem. > > > > First, I have to create a symlink ~/.zshenv and point it to > ~/.zsh/.zshenv > > Then, as the first thing to do in ~/.zsh/.zshenv, I have to do: > > export ZDOTDIR=${HOME}/.zsh > > > > This is janky and is messier than it needs to be. > > Yes, but OTOH you only have to do it once. > Assuming this is your computer, you do something with /etc/z* which would look for ~/.zsh and save you having to symlink ~/.zshenv Personally I have all of my Zsh stuff in ~/Dropbox/etc/zsh/ and when I setup a new system all I have to do is ln -s Dropbox/etc/zsh/zshenv.sh .zshenv ln -s Dropbox/etc/zsh/zshrc.sh .zshrc hardly seems onerous. --f46d0447f30c95394304d861df7e--