Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh startup files
- X-seq: zsh-users 10026
- From: Phil Pennock <phil.pennock@xxxxxxxxxxx>
- To: zsh-users@xxxxxxxxxx
- Subject: Re: zsh startup files
- Date: Wed, 15 Mar 2006 19:22:06 +0100
- In-reply-to: <060314184352.ZM19392@xxxxxxxxxxxxxxxxxxxxxx>
- Mail-followup-to: zsh-users@xxxxxxxxxx
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <Xns9786B37C1560Fzzappergmailcom@xxxxxxxxxxx> <20060314195023.GE9875@xxxxxxxxxxxxx> <060314184352.ZM19392@xxxxxxxxxxxxxxxxxxxxxx>
- Sender: Phil Pennock <phil@xxxxxxxxxxxxx>
On 2006-03-14 at 18:43 -0800, Bart Schaefer wrote:
> Back when I was using timeshared computers a lot, I had a .zlogout that
> cleared the screen and any scrollback buffers, but I removed that a long
> time ago; I haven't thought of any other good use for it.
Machine-rooms in third-party hosting facilities, when you've been in
logged in on a real virtual console.
I should probably get around to making it more portable to different TTY
naming schemes, but the very simple method works for me:
[[ $SHLVL -eq 1 && $TTY == /dev/ttyv* ]] && clear
Messages sorted by:
Reverse Date,
Date,
Thread,
Author