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

Re: SHELL not always correct



Hi!
 
> > 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.

Good guess, and even a correct one: on a system where I tried it a init script was actually setting SHELL.

Cheers!




      



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