zsh-users
 help / color / mirror / code / Atom feed
From: TJ Luoma <luomat@gmail.com>
To: zsh-users@zsh.org
Subject: Re: Please implement auto-handling of ${HOME}/.zsh/
Date: Wed, 20 Mar 2013 17:25:41 -0400	[thread overview]
Message-ID: <CADjGqHsRREzK_A+4b0hJhjTTW8sQh4R4iN4f5LdFL4xyB=0Qwg@mail.gmail.com> (raw)
In-Reply-To: <20130320205509.GD89285@phisen.local>

[-- Attachment #1: Type: text/plain, Size: 926 bytes --]

On Wed, Mar 20, 2013 at 4:55 PM, Paul Hoffman <nkuitse@nkuitse.com> 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.

  reply	other threads:[~2013-03-20 21:26 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-03-20 19:16 Larry Schrof
2013-03-20 19:54 ` Moritz Bunkus
2013-03-20 20:55 ` Paul Hoffman
2013-03-20 21:25   ` TJ Luoma [this message]
2013-03-21  5:41 ` Bart Schaefer
2013-03-21 12:05   ` Richard Hartmann
2013-03-21  8:17 ` Axel Beckert
2013-03-21 12:03 ` Richard Hartmann

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CADjGqHsRREzK_A+4b0hJhjTTW8sQh4R4iN4f5LdFL4xyB=0Qwg@mail.gmail.com' \
    --to=luomat@gmail.com \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).