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

Re: zsh vs ksh



[On 18 Nov, @20:05, William wrote in "zsh vs ksh ..."]
> Here's a question...
> 
> What is the reasonable way to determine if the contents of a .profile 
> are being read by zsh or bash?

trying something out on the commandline I see:

bash:  echo $BASH	-> /bin/bash
zsh:   echo $BASH	-> <empty>

So maybe you can use that?

grtz
      Miek
--
Serenity now!
-- Frank Costanza (Seinfeld)



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