Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: SHELL not always correct
- X-seq: zsh-users 13362
- From: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
- To: dqarras@xxxxxxxxx
- Subject: Re: SHELL not always correct
- Date: Tue, 21 Oct 2008 21:58:33 +0100
- Cc: ZSH Users <zsh-users@xxxxxxxxxx>, pws@xxxxxxxxxxxxxxxxxxx
- In-reply-to: Message from Daniel Qarras <dqarras@xxxxxxxxx> of "Tue, 21 Oct 2008 13:16:09 PDT." <903527.44182.qm@xxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
Daniel Qarras wrote:
> Dear List,
>
> I'm wondering is this a bug or a feature:
>
> localhost:~> echo $SHELL
> /bin/zsh
> localhost:~> exec bash -l
> localhost:~$ echo $SHELL
> /bin/bash
> localhost:~$ exec zsh -l -i
> localhost:~> echo $SHELL
> /bin/bash
I very much doubt whether bash is altering SHELL internally; try
starting with -x to see if it's coming from an initialisation file.
--
Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/
Messages sorted by:
Reverse Date,
Date,
Thread,
Author