1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-09-20 10:53:29 +02:00
zsh/StartupFiles/zlogin
1999-04-15 18:05:38 +00:00

21 lines
438 B
Bash

#
# Generic .zlogin file for zsh 2.7
#
# .zlogin is sourced in login shells. It should
# contain commands that should be executed only in
# login shells. It should be used to set the terminal
# type and run a series of external commands (fortune,
# msgs, from, etc).
#
clear
stty dec new cr0 -tabs
ttyctl -f # freeze the terminal modes... can't change without a ttyctl -u
mesg y
uptime
fortune
log
from 2>/dev/null
cat notes
msgs -fp