Zsh Mailing List Archive
Messages sorted by:
Re: do you use separate .zshenv and .zshrc files?
- X-seq: zsh-users 17035
- From: TJ Luoma <luomat@xxxxxxxxx>
- To: "Benjamin R. Haskell" <zsh@xxxxxxxxxx>
- Subject: Re: do you use separate .zshenv and .zshrc files?
- Date: Sat, 28 Apr 2012 17:57:57 -0400
- Cc: zsh-users@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=date:from:to:cc:message-id:in-reply-to:references:subject:x-mailer :mime-version:content-type:content-transfer-encoding :content-disposition; bh=EUCts8dyyBryhk9s9L9szG7cBWj6liNxN2mRS36pt8U=; b=NJ4qr0KwxGLYROs7anb9YHWg9B4CeLMm3J9CVngEbWZptgwxbBMki/6rKnb0IRxyq6 ix2S6aaCELAnxXz5nvs7h3+PA44lzhOEBQhhMJ3HKhe92ICPFvyOWihJlyFH8v6JgY+L 4QbYVAulxmkD5kR8Bbrqe/R6OUfGHb53nXZxd10Bb7mUb+1a/hyVtg6ERR9jn0WDa3ln l+En7BP7qdrv46Nq1pSr+DKvJqJdi11X0tomyoEYC829D2nV7NcuCt/12NQ5xtSbZm6/ k3LY63a2bvmuyZGM8MrE9C8yqoDnN4sZElGjh+iFzxuHa3SvjUbBnYsvoEGGNJtaTGtj arwA==
- In-reply-to: <alpine.LNX.email@example.com>
- List-help: <mailto:firstname.lastname@example.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:email@example.com>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <4B2741961D3F4053AD4A3F6A195E2371@gmail.com> <alpine.LNX.firstname.lastname@example.org>
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.
Messages sorted by: