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

24 lines
581 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).
#
# THIS FILE IS NOT INTENDED TO BE USED AS /etc/zlogin, NOR WITHOUT EDITING
return 0 # Remove this line after editing this file as appropriate
1999-04-15 20:05:38 +02:00
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