Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Reliable way to detect a login shell?
- X-seq: zsh-users 2613
- From: Clint Olsen <olsenc@xxxxxxxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxxxxxx
- Subject: Reliable way to detect a login shell?
- Date: Thu, 23 Sep 1999 14:09:15 -0700
- Mailing-list: contact zsh-users-help@xxxxxxxxxxxxxx; run by ezmlm
- Organization: Intel Corporation, Hillsboro, OR
Is there a way to tell (checking switches/arguments) that a particular
shell is a login shell? I'd like to be able to do this in my .zshenv to
set some options.
For example:
if [ i'm a login shell ]; then
set -o ignoreeof
fi
Thanks,
-Clint
Messages sorted by:
Reverse Date,
Date,
Thread,
Author