Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: multiple OSes



On 01/11/2007, Atom Smasher <atom@xxxxxxxxxxx> wrote:
> On Thu, 1 Nov 2007, Pete Johns wrote:
>
> > I tend to do things per host (since each of the hosts at work is so
> > different).
>
> including comments, my zshrc is currently 430 lines, 15KB. i'm (currently)
> subscribing to the theory that it's best to have one file that i use for
> all logins on all systems, and make it adapt itself accordingly. the
> alternative is re-writing little peices for different systems and trying
> to keep them in sync.

One thing you can do is put
source .localcrazystuff
somewhere in your .zshrc, then you can copy in updated versions
without overwriting the local specialized stuff since it's in a
separate file.

-- 
Mikael Magnusson



Messages sorted by: Reverse Date, Date, Thread, Author