Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Querying the state of shell options
- X-seq: zsh-users 16942
- From: TJ Luoma <luomat@xxxxxxxxx>
- To: "gi1242+zsh@xxxxxxxxx" <gi1242+zsh@xxxxxxxxx>
- Subject: Re: Querying the state of shell options
- Date: Sat, 31 Mar 2012 22:44:10 -0400
- Cc: "zsh-users@xxxxxxx" <zsh-users@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=references:from:in-reply-to:mime-version:date:message-id:subject:to :cc:content-type; bh=gfOXAXsHM6q2v8j2jiN0bUp4zXiYku0ePItC9GdCp24=; b=jm5o0q02uDgXCSe0lt0/Vr1JxptFLGV+8RE0UVmAFRy9Pqb5QSG9gEETdv0PVXVNie Xa0ftzPmUv0nLyfiX/3+ZNrc6xJUONBdJTuydDBmgK4/FymmlAguDzPwxTz8O/cA79Ls v+H69zP9tkbu8jd95FO9RAZHvoXR2jiT1MWT96vdCPspRW0x8XEYFJby/ofTz+V/nxeu isG2Y6VXsYyeGFVIslR1g9P/mSeVmphoehzkpSXfmBIhHIsnVlyv3dcNjvO1q451B5ym 0hdyZT/2evQ2HzgpUWD2T5tN1p1DDynHSEkXDQrqhhehjHFX5Tac4zRy0m3J/M+nBTcD D8DQ==
- In-reply-to: <20120401021030.GC24544@andrew.cmu.edu>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <20120401021030.GC24544@andrew.cmu.edu>
I believe this will work
if [[ -o login ]]
then
whatever
fi
Messages sorted by:
Reverse Date,
Date,
Thread,
Author