# $Id: .zlogout,v 1.1 2004/06/10 10:01:29 dope Exp dope $ # # .zlogin is sourced in login shells. It should contain commands that # should be executed only in login shells. It should be used to run a # series of external commands (fortune, msgs, etc). # Only reset and clear if it's at the physical console. if [ ! $DISPLAY ]; then if [ ! $SSH_CLIENT ]; then reset fi fi # Clear the screen so next person can't see anything from the session. clear