From: Miek Gieben <miekg@atoom.net>
To: zsh users <zsh-users@sunsite.dk>
Subject: Re: zsh vs ksh
Date: Wed, 19 Nov 2003 18:02:21 +0100 [thread overview]
Message-ID: <20031119170220.GB6550@atoom.net> (raw)
In-Reply-To: <2B1BAD39-19FA-11D8-BE95-000393768D2C@mcgillsociety.org>
[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)
next prev parent reply other threads:[~2003-11-19 17:02 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-17 15:34 zsh book? Miek Gieben
2003-11-17 17:50 ` Peter Stephenson
2003-11-17 19:01 ` Nikolai Weibull
2003-11-17 21:30 ` Miek Gieben
2003-11-18 19:05 ` zsh vs ksh William H. Magill
2003-11-19 17:00 ` Peter Stephenson
2003-11-19 17:02 ` Miek Gieben [this message]
2003-12-04 12:04 ` zzapper
2005-01-08 5:18 ` zsh as ksh for login shell -- a bug with PS1? William H. Magill
2005-01-08 16:24 ` Peter Stephenson
2005-01-08 16:50 ` William H. Magill
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20031119170220.GB6550@atoom.net \
--to=miekg@atoom.net \
--cc=zsh-users@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).