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

Re: SHELL not always correct



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