1
0
mirror of git://git.code.sf.net/p/zsh/code synced 2024-11-19 13:33:52 +01:00
zsh/StartupFiles/zlogin

21 lines
438 B
Plaintext
Raw Normal View History

1999-04-15 20:05:38 +02:00
#
# 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