zsh-users
 help / color / mirror / code / Atom feed
From: Ligesh <myself@ligesh.com>
To: Peter Stephenson <pws@csr.com>
Cc: zsh-users@sunsite.dk
Subject: Re: Using a separate config file, without disturbing the system's
Date: Fri, 16 Mar 2007 12:54:34 +0530	[thread overview]
Message-ID: <20070316072434.GA3867@lxlabs.com> (raw)
In-Reply-To: <200703141000.l2EA0W4j002026@news01.csr.com>

 Hey, that worked. A bit too dramatic answer for my tastes, but hey, can't argue with results. :-) 

 Thanks.

On Wed, Mar 14, 2007 at 10:00:32AM +0000, Peter Stephenson wrote:
> Ligesh wrote:
> >  If you want zsh to parse your custom configuration file in the non-interacti
> > ve mode, currently it seems, the only way is to add it to .zshenv file. Now I
> >  want to start a session with a completely different configuration file and s
> > tay in that config file till the end of the session.
> 
> % mkdir ~/zdotdir
> % echo "echo Wow, I just used the alternative .zshrc" >~/zdotdir/.zshrc
> % ZDOTDIR=~/zdotdir zsh
> Wow, I just used the alternative .zshrc
> % printenv ZDOTDIR
> /home/pws/zdotdir
> 
> -- 
> Peter Stephenson <pws@csr.com>                  Software Engineer
> CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
> Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070
> 
> 
> To access the latest news from CSR copy this link into a web browser:  http://www.csr.com/email_sig.php
> 
> To get further information regarding CSR, please visit our Investor Relations page at http://ir.csr.com/csr/about/overview


      reply	other threads:[~2007-03-16  7:13 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-03-14  7:41 Ligesh
2007-03-14 10:00 ` Peter Stephenson
2007-03-16  7:24   ` Ligesh [this message]

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=20070316072434.GA3867@lxlabs.com \
    --to=myself@ligesh.com \
    --cc=pws@csr.com \
    --cc=zsh-users@sunsite.dk \
    /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).