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

Re: SHELL not always correct



On Wed, Oct 22, 2008 at 7:13 AM, Phil Pennock
<zsh-workers+phil.pennock@xxxxxxxxxxxx> wrote:

> Seems rather presumptuous, to claim to child processes that you are the
> user's chosen preferred shell, merely because you're running.

I've generally found that SHELL isn't much use for figuring out what you're in.

GNU autoconf <http://autoconf.iunix.biz/autoconf_105.html> checks
whether ZSH_VERSION is set to determine if it's running in zsh.
(Hopefully it's not exported in the standard setup. :-)
-- 
Aaron Davies
aaron.davies@xxxxxxxxx



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