zsh-users
 help / color / mirror / code / Atom feed
From: TJ Luoma <luomat@gmail.com>
To: "Benjamin R. Haskell" <zsh@benizi.com>
Cc: zsh-users@zsh.org
Subject: Re: do you use separate .zshenv and .zshrc files?
Date: Sat, 28 Apr 2012 17:57:57 -0400	[thread overview]
Message-ID: <07DD5A5D889944F7B10E983AF5776A6D@gmail.com> (raw)
In-Reply-To: <alpine.LNX.2.01.1204281633070.27115@hp.internal>



On Saturday, April 28, 2012 at 4:54 PM, Benjamin R. Haskell wrote:

> My config currently spans 19 files, so my bias should be apparent. I
> keep everything in ~/.zsh/, except for machine-specific settings, which
> I put in ~/.zsh.local/. And ~/.zshenv is a symlink to ~/.zsh/.zshenv,
> which sets ZDOTDIR to ~/.zsh. My ~/.zsh/.zshrc sources the other files
> in ~/.zsh/, most of which have some guard at the top (e.g.
> ~/.zsh/.zsh_screen returns if the `screen` command isn't installed).

Ok, now I'm curious: 

1. What are the 19 files? Functions in one, aliases in another, variables in another? I can't even imagine that many different files, but maybe I'm missing something.

2. Are you primarily using one computer or several?  If several, how do you keep this in sync?

FWIW my ~/.zshenv and ~/.zshenv are links to ~/Dropbox/etc/Zsh/env.sh and ~/Dropbox/etc/Zsh/rc.sh but I have some shell accounts which I can't sync via Dropbox so I end up syncing them manually (scp) and it always seems like one file would be easier there too. OTOH I suppose rsync would be easy enough.

TjL




  parent reply	other threads:[~2012-04-28 21:59 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-28 19:07 TJ Luoma
2012-04-28 20:54 ` Benjamin R. Haskell
2012-04-28 21:01   ` Benjamin R. Haskell
2012-04-28 21:57   ` TJ Luoma [this message]
2012-04-28 22:25     ` Benjamin R. Haskell
2012-04-28 23:03 ` Bart Schaefer
2012-04-28 23:19   ` TJ Luoma

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=07DD5A5D889944F7B10E983AF5776A6D@gmail.com \
    --to=luomat@gmail.com \
    --cc=zsh-users@zsh.org \
    --cc=zsh@benizi.com \
    /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).