Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: SHELL not always correct
- X-seq: zsh-users 13373
- From: Daniel Qarras <dqarras@xxxxxxxxx>
- To: ZSH Users <zsh-users@xxxxxxxxxx>
- Subject: Re: SHELL not always correct
- Date: Wed, 22 Oct 2008 08:32:47 -0700 (PDT)
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=X-YMail-OSG:Received:X-Mailer:Date:From:Reply-To:Subject:To:In-Reply-To:MIME-Version:Content-Type:Message-ID; b=nn2+SOrW0+6qSTxjww9uTEjGPzLj8hcLrqFYcS6caK9IQJ7bwRt5UzNUDZ6TDHddiT72FCx7+Q7H4dAYgdAhAFrkujRQdOxAXa71ViN5hvvCekDEf1K1fnNzwRapE0w6SZVWMghaAWtWKNBdiecoc+pbNK+eOKuj5/ynZvr9OOs=;
- In-reply-to: <200810212058.m9LKwXQe009278@xxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- Reply-to: dqarras@xxxxxxxxx
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