Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Using a separate config file, without disturbing the system's
- X-seq: zsh-users 11306
- From: Ligesh <myself@xxxxxxxxxx>
- To: Peter Stephenson <pws@xxxxxxx>
- Subject: Re: Using a separate config file, without disturbing the system's
- Date: Fri, 16 Mar 2007 12:54:34 +0530
- Cc: zsh-users@xxxxxxxxxx
- In-reply-to: <200703141000.l2EA0W4j002026@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20070314074133.GA15643@xxxxxxxxxx> <200703141000.l2EA0W4j002026@xxxxxxxxxxxxxx>
- Reply-to: Ligesh <myself@xxxxxxxxxx>
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@xxxxxxx> 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author